7abced0a17
1.8.1: * Fixed some bugs in the 'win' handler. * Updated the Log_observer::factory() method for consistency with Log::factory(). 1.8.0: * The Log package now includes a users guide, example scripts and unit tests. * A number of small improvements have been made to the 'win' log handler (based on suggestions from Paul Yanchenko). * A new 'display' log handler has been added to the distribution. Contributed by Paul Yanchenko, this handler simply prints the error message back to the browser. It respects the 'error_prepend_string' and 'error_append_string' PHP INI values and is useful when using PEAR::setErrorHandling()'s PEAR_ERROR_CALLBACK mechanism. 1.7.1: * The mail handler now uses "\n" to terminate lines instead of "\r\n". * The file handler's path creation routines now guard against potentially infinite recursion. * It is now possible to pass an object to the logging methods. If the object offers a PEAR_Error-style getMessage() or PHP5 exception-style toString() method, it will be used to extract the message text. Documentation and the guide are installed in ${LOCALBASE}/share/doc/pear-Log.
3 lines
198 B
Text
3 lines
198 B
Text
The Log framework provides an abstracted logging system for PHP. It supports
|
|
logging to console, display, file, syslog, SQL, mail, and mcal targets.
|
|
It also provides a subject - observer mechanism.
|