| » Version | » Information |
|---|---|
| 1.11.0 | Download Release date: 2008-06-14 20:53 UTC Release state: stable Changelog: Relicensing the Log package under the MIT license. Dependencies: |
| 1.10.1 | Download Release date: 2008-05-03 19:26 UTC Release state: stable Changelog: - The default value for the display handler's lineBreak configuration value wasn't being applied. (Bug 13436) Dependencies: |
| 1.10.0 | Download Release date: 2008-02-10 22:55 UTC Release state: stable Changelog: - The level masking test now passed on 64-bit platforms. (Bug 12933) - The mail handler can now optionally use the PEAR Mail package. (Request 12839) Dependencies: |
| 1.9.16 | Download Release date: 2008-01-19 22:32 UTC Release state: stable Changelog: - Corrected some PHPDoc syntax problems. - Correcting some spelling errors in the users guide. - Fixed the firebug unit test. - Simplified the PEAR_LOG_ALL and PEAR_LOG_NONE constants. Dependencies: |
| 1.9.15 | Download Release date: 2008-01-19 21:50 UTC Release state: stable Changelog: - The Firebug handler now avoids more Javascript errors in IE. (Bug 12810) Dependencies: |
| 1.9.14 | Download Release date: 2008-01-02 00:46 UTC Release state: stable Changelog: - The sql handler wasn't honoring custom SQL insertion statements. (Bug 12734) - The display handler now has a configurable line format. (Request 12781) Dependencies: |
| 1.9.13 | Download Release date: 2007-12-13 06:48 UTC Release state: stable Changelog: - The Firebug handler's unit test now passes. (Bug 12674) - Fixed a PHP4 compatibility problem involving class_exists(). (Bug 12675) Dependencies: |
| 1.9.12 | Download Release date: 2007-12-12 07:13 UTC Release state: stable Changelog: - The Firebug handler no longer generates Javascript errors in IE. (Bug 12607) - The users guide has been updated with information on writing custom handlers. Dependencies: |
| 1.9.11 | Download Release date: 2007-05-14 06:46 UTC Release state: stable Changelog: A Firebug log handler has been added. Dependencies: |
| 1.9.10 | Download Release date: 2007-02-05 07:37 UTC Release state: stable Changelog: The syslog handler now has an 'inherit' configuration parameter which controls whether or openlog() is called to create a new syslog environment. (Bug 9822) fflush() is now always called with a valid resource. (Bug 9388) The mail handler, when composited, no longer sends empty messages. (Bug 8865) Dependencies: |
| 1.9.9 | Download Release date: 2006-10-12 06:30 UTC Release state: stable Changelog: Improving the performance of line format parsing. (Bug 8766) Dependencies: |
| 1.9.8 | Download Release date: 2006-08-01 05:14 UTC Release state: stable Changelog: The window handler now allows the entire CSS style to be set instead of just the text color. Dependencies: |
| 1.9.7 | Download Release date: 2006-07-08 03:08 UTC Release state: stable Changelog: Provided documentation on logging PHP assertions and exceptions. All stock handlers now provide stubbed open() and close() method. The composite handler now tracks the success of its child handlers' operations. The composite handler's log() method now opens its child handlers if they're not already open. Dependencies: |
| 1.9.6 | Download Release date: 2006-05-28 00:42 UTC Release state: stable Changelog: _getBacktraceVars() now works with composite handlers. (Bug 7602) Instances of strftime('%T') have been replaced with '%H:%M:%S'. (Bug 7629) Dependencies: |
| 1.9.5 | Download Release date: 2006-04-30 22:02 UTC Release state: stable Changelog: Correcting the sqlite dependency. It is now optional. (Bug 7523) Dependencies: |
| 1.9.4 | Download Release date: 2006-04-25 06:04 UTC Release state: stable Changelog: If a 'DB' class already exists, the SQL handler won't attempt to require DB.php. (Bug 6214) When creating the Log instance in factory(), return a proper reference to the object. (Bug 5261) When preparing the MDB2 statement, mark it as MDB2_PREPARE_MANIP. (Bug 6323) If the desired Log class already exists (because the caller has supplied it from some custom location), simply instantiate and return a new instance. (Mads Danquah) The observer's factory method now provides more robust file location logic. (Bug 6831) Added MIN() and MAX() functions for calculating the minimum and maximum log masks based on a given priority. MAX() superceeds the existing UPTO() function, which is now deprecated. Settled on the PHP4-style "return object by reference" notation for good, even though it results in a E_STRICT warning under PHP5. (Bug 6689) Dependencies: |
| 1.9.3 | Download Release date: 2005-12-05 06:35 UTC Release state: stable Changelog: The Observer code is now PHP 4.4 compliant. (Bug 5776) Log::factory(), Log::singleton(), and Log_observer::factory() now return null instead of false on failure. This is more consistent with the model that these methods return object references. Backwards compatibility is only violated if users were explicitly testing for a literal 'false' result. Dependencies:
|
| 1.9.2 | Download Release date: 2005-10-25 16:44 UTC Release state: stable Changelog: Fixing a syntax error in the SQL handler that occured when a custom SQL statement was not provided. (Bug 5777) Dependencies:
|
| 1.9.1 | Download Release date: 2005-10-24 20:16 UTC Release state: stable Changelog: The SQL handler failed to prepare the SQL statement when an existing database connection was provided. (Bug 5702) The SQL handler now supports user-provided SQL insertion statements via the 'sql' configuration parameter. (Request 5703) Dependencies:
|
| 1.9.0 | Download Release date: 2005-10-10 03:45 UTC Release state: stable Changelog: Added stringToPriority() for converting priority names to PEAR_LOG_* constants. The mail handler now uses \r\n instead of \n to terminate lines. The file handler will now perform file locking if the 'locking' parameter is set. The file hander's directory creation routines have been rewritten. The file handler will now set a created directory's permission mode based on the 'dirmode' parameter. The SQL handler can now be configured with an array of DB 'options'. The SQL handler now uses prepared queries for improved performance. An MDB2 database handler has been added. Only variable references should be returned by reference in Log::factory(). The file handler can now handle file modes given as strings. The display handler now offers a 'linebreak' configuration option. The composite handler's getIdent() method now returns the correct value. The file handler now only attempts to set the log file's mode if it created it. The factory() method will no longer attempt to include the handler file if the handler class has already been defined. Dependencies:
|
| 1.8.7 | Download Release date: 2004-12-21 07:02 UTC Release state: stable Changelog: The Log package now supports logging arrays with a 'message' key. The 'display' handler now preserves line breaks in its output. An experimental new handler ('daemon') has been added. Dependencies:
|
| 1.8.6 | Download Release date: 2004-09-08 23:40 UTC Release state: stable Changelog: The maximum length of the 'sql' handler's 'ident' string is now configurable. Different instances of the 'win' handler can now address their own output windows. Dependencies:
|
| 1.8.5 | Download Release date: 2004-08-10 06:39 UTC Release state: stable Changelog: The 'sql' handler now enforces a maximum 'ident' length of 16 characters. The 'sql' handler can now use a user-defined sequence. The 'composite' handler now properly closes all of its children. (Bug 1947) Dependencies:
|
| 1.8.4 | Download Release date: 2004-02-17 05:31 UTC Release state: stable Changelog: The Log package now requires PHP 4.3.0 or later. If an object or array is passed as a log event, its human-readable representation will be used. It's now possible to specify the default priority for events logged using the log() method. Dependencies:
|
| 1.8.3 | Download Release date: 2004-01-08 07:22 UTC Release state: stable Changelog: Added a new handler that logs using the Sqlite extension. The open(), close() and log() methods now consistently return success or failure. Dependencies:
|
| 1.8.2 | Download Release date: 2004-01-02 02:02 UTC Release state: stable Changelog: Added a new 'null' log handler. Added a flush() method to the public Log API. Dependencies:
|
| 1.8.1 | Download Release date: 2003-12-15 04:57 UTC Release state: stable Changelog: Fixed some bugs in the 'win' handler. Updated the Log_observer::factory() method for consistency with Log::factory(). Dependencies:
|
| 1.8.0 | Download Release date: 2003-11-19 06:25 UTC Release state: stable Changelog: 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. Dependencies:
|
| 1.7.1 | Download Release date: 2003-09-21 10:05 UTC Release state: stable Changelog: 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. Dependencies:
|
| 1.7.0 | Download Release date: 2003-08-03 04:59 UTC Release state: stable Changelog: It is now possible to specific a specific mask that dictates exactly which levels will be logged. A number of convenient "shortcut" functions have been added for logging messages at specific log messages. Two new log handers have been added: the 'error_log' handler wraps PHP's native error_log() function; and the 'win' handler outputs log messages to a separate browser window. The file log handler has been completely rewritten based on suggestions from Roman Neuhauser. It no longer buffers log output in memory before writing to the log file. Greg Beaver submitted a change that allows callers to provide their own Log classes (that existing outside of the PEAR file hierarchy) by including them before invoking a factory() method. Dependencies:
|
| 1.6.7 | Download Release date: 2003-06-17 08:06 UTC Release state: stable Changelog: It is now possible to set the identification string for all of a composite's child instances. The preamble of the mail handler's message is now configurable. Dependencies:
|
| 1.6.6 | Download Release date: 2003-06-05 09:54 UTC Release state: stable Changelog: In the file handler, store the ident string in the _logLines cache. It's now possible to change the ident string using Log::setIdent() in the middle of a set of log entries. Dependencies:
|
| 1.6.5 | Download Release date: 2003-04-27 05:47 UTC Release state: stable Changelog: The mail log handler needs to register its own destructer now that the Log class no longer inherits from the PEAR base class. Dependencies:
|
| 1.6.4 | Download Release date: 2003-04-08 21:11 UTC Release state: stable Changelog: The Log classes no longer inherits from the PEAR base class. Not including the PEAR base class gives us smaller, faster Log objects. The Log_file class now registers its own destructor to ensure that the logfile is correctly closed upon shutdown. A ZendEngine 1 incompatibility was introduced in the previous release. This has been corrrected. Dependencies:
|
| 1.6.3 | Download Release date: 2003-04-08 10:22 UTC Release state: stable Changelog: A unique identifier is now stored inside each Log instance. Both the composite and subject-observer mechanisms use this identifier to index their object lists. The internals of the Log_observer system have been rewritten for general cleanliness. The external interface remains unchanged. The Log class now offers public setIdent() and getIdent() members for setting and getting the Log instance's identification string during the object's lifetime. Dependencies:
|
| 1.6.2 | Download Release date: 2003-04-07 09:54 UTC Release state: stable Changelog: In the Log_observer class, operate directly on the reference to the Log instance (instead of on a copy of the object). Dependencies:
|
| 1.6.1 | Download Release date: 2003-04-03 10:29 UTC Release state: stable Changelog: - Fix a typo that broke the Log_Observer class. Dependencies:
|
| 1.6.0 | Download Release date: 2003-02-18 02:24 UTC Release state: stable Changelog: - The SQL handler now uses sequences instead of timestamps as unique identifiers. - The time format used by the file handler is now configurable. Dependencies:
|
| 1.5.3 | Download Release date: 2003-01-02 09:46 UTC Release state: stable Changelog: - Improved singleton()'s signature generation. - The SQL handler no longer closes existing database connections. - The log() method now returns a boolean result indicating success or failure. |
| 1.5.2 | Download Release date: 2002-11-28 19:47 UTC Release state: stable Changelog: - Altered the singleton's "signature" construction to be shorter and more array-friendly. |
| 1.5.1 | Download Release date: 2002-11-18 00:51 UTC Release state: stable Changelog: - The mail handler now implements a destructor to ensure close() is called. - The syslog handler now requires $name to be a valid syslog facility. |
| 1.5 | Download Release date: 2002-10-24 19:40 UTC Release state: stable Changelog: - Adding the ability to set the mode of the logfile in the Log_file. - mail() failures in Log_mail are logged via error_log(). - Replaced all remaining LOG_* constants with the PEAR_LOG_* versions. |
| 1.4 | Download Release date: 2002-09-28 21:08 UTC Release state: stable Changelog: - Altered the format of the SQL logging table to use a TIMESTAMP field. - The Log class now extends the PEAR base class. - New file logger that keeps the log file open for the life of the request. |
| 1.3 | Download Release date: 2002-09-16 01:47 UTC Release state: stable Changelog: Adding a mail logging target. |
| 1.2 | Download Release date: 2002-07-24 10:07 UTC Release state: stable Changelog: Introducing a set of PEAR_LOG_* constants to combat the fact that the syslog LOG_* constants are not unique under Windows. |
| 1.1 | Download Release date: 2002-04-18 20:42 UTC Release state: stable Changelog: Adding a new console logging target. |
| 1.0 | Download Release date: 2002-03-08 05:15 UTC Release state: Changelog: This is the initial independent release of the Log package. |