Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

553 lines (547 sloc) 17.847 kb
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>Log</name>
<channel>pear.php.net</channel>
<summary>Logging Framework</summary>
<description>The Log package provides an abstracted logging framework. It includes output handlers for log files, databases, syslog, email, Firebug, and the console. It also provides composite and subject-observer logging mechanisms.</description>
<lead>
<name>Jon Parise</name>
<user>jon</user>
<email>jon@php.net</email>
<active>yes</active>
</lead>
<lead>
<name>Chuck Hagenbuch</name>
<user>chagenbu</user>
<email>chuck@horde.org</email>
<active>yes</active>
</lead>
<lead>
<name>Jan Schneider</name>
<user>yunosh</user>
<email>jan@horde.org</email>
<active>yes</active>
</lead>
<date>2011-09-18</date>
<time>17:50:51</time>
<version>
<release>1.12.7</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- The &apos;firebug&apos; handler is now usable with Chrome, as well. (Request 18617)
- The &apos;observer&apos; code now longer generates deprecated return value reference notices. (Bug 18830)
</notes>
<contents>
<dir baseinstalldir="/" name="/">
<dir name="docs">
<file name="guide.txt" role="doc" />
</dir> <!-- /docs -->
<dir name="examples">
<file name="composite.php" role="doc" />
<file name="console.php" role="doc" />
<file name="display.php" role="doc" />
<file name="error_log.php" role="doc" />
<file name="file.php" role="doc" />
<file name="firebug.php" role="doc" />
<file name="mail.php" role="doc" />
<file name="null.php" role="doc" />
<file name="observer_mail.php" role="doc" />
<file name="pear_error_handler.php" role="doc" />
<file name="php_error_handler.php" role="doc" />
<file name="sql.php" role="doc" />
<file name="sqlite.php" role="doc" />
<file name="syslog.php" role="doc" />
<file name="win.php" role="doc" />
</dir> <!-- /examples -->
<dir name="Log">
<file name="composite.php" role="php" />
<file name="console.php" role="php" />
<file name="daemon.php" role="php" />
<file name="display.php" role="php" />
<file name="error_log.php" role="php" />
<file name="file.php" role="php" />
<file name="firebug.php" role="php" />
<file name="mail.php" role="php" />
<file name="mcal.php" role="php" />
<file name="mdb2.php" role="php" />
<file name="null.php" role="php" />
<file name="observer.php" role="php" />
<file name="sql.php" role="php" />
<file name="sqlite.php" role="php" />
<file name="syslog.php" role="php" />
<file name="win.php" role="php" />
</dir> <!-- /Log -->
<dir name="misc">
<file name="log.sql" role="data" />
</dir> <!-- /misc -->
<dir name="tests">
<file name="backtrace.phpt" role="test" />
<file name="composite.phpt" role="test" />
<file name="console.phpt" role="test" />
<file name="display.phpt" role="test" />
<file name="error_log.phpt" role="test" />
<file name="extract-zend2.0.phpt" role="test" />
<file name="extract-zend2.2.phpt" role="test" />
<file name="factory.phpt" role="test" />
<file name="file.phpt" role="test" />
<file name="firebug.phpt" role="test" />
<file name="format.phpt" role="test" />
<file name="levels.phpt" role="test" />
<file name="masks.phpt" role="test" />
<file name="null.phpt" role="test" />
<file name="priority.phpt" role="test" />
<file name="singleton.phpt" role="test" />
<file name="sqlite.phpt" role="test" />
<file name="sql_ident.phpt" role="test" />
<file name="syslog.phpt" role="test" />
<file name="win-ob.phpt" role="test" />
<file name="win.phpt" role="test" />
</dir> <!-- /tests -->
<file name="Log.php" role="php" />
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>5.0.0</min>
</php>
<pearinstaller>
<min>1.4.3</min>
</pearinstaller>
</required>
<optional>
<package>
<name>DB</name>
<channel>pear.php.net</channel>
<min>1.3</min>
</package>
<package>
<name>MDB2</name>
<channel>pear.php.net</channel>
<min>2.0.0RC1</min>
</package>
<package>
<name>Mail</name>
<channel>pear.php.net</channel>
</package>
<extension>
<name>sqlite</name>
</extension>
</optional>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>1.12.7</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2011-09-18</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- The &apos;firebug&apos; handler is now usable with Chrome, as well. (Request 18617)
- The &apos;observer&apos; code now longer generates deprecated return value reference notices. (Bug 18830)
</notes>
</release>
<release>
<version>
<release>1.12.6</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2011-05-25</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- Improved the console handler&apos;s stream handling. (Bug 17874)
- Added a &apos;reopen&apos; configuration parameter to the syslog handler. (Request 18185)
- The backtrace depth is now configurable via setBacktraceDepth(). (Request 18423)
</notes>
</release>
<release>
<version>
<release>1.12.5</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-12-22</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- Corrected the &quot;levels&quot; unit test on 32-bit systems. (Bug 18099)
- Corrected quote handling in Firebug console output. (Bug 18141)
</notes>
</release>
<release>
<version>
<release>1.12.4</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-12-05</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- The display handler now has a &apos;rawText&apos; configuration option that disables HTML-safe message text conversion.
- Improved the way that the composite handler stores references its children.
</notes>
</release>
<release>
<version>
<release>1.12.3</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-09-27</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- The unit tests now set the timezone. (Bug 17830)
- The composite handler now opens child handlers lazily (on demand). (Bug 17785)
</notes>
</release>
<release>
<version>
<release>1.12.2</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-08-28</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- Use PHP5-specific static method notation to avoid strict warnings. (Bug: 17509)
- Fixing some potential undefined backtrace references. (Bug: 17738)
- Adding `lineFormat` and `timeFormat` configuration variables to the syslog handler. (Request: 17753)
</notes>
</release>
<release>
<version>
<release>1.12.1</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-05-28</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
Fixing a rare notice when extracting the class name from a backtrace involving the composite handler. (Bug 17356)
</notes>
</release>
<release>
<version>
<release>1.12.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-01-24</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
This release drops PHP4 compatibility (enforced by the package dependencies).
There is unfortunately no way to support both PHP4 and PHP5 in the same code base when running under E_ALL. Because it appears that the majority of Log package users have moved to PHP5, the Log package now targets that audience.
Given the fact that the Log package is now largely in maintenance mode, existing PHP4 users shouldn&apos;t feel adandoned. If necessary, important fixes, etc. can be merged back into the 1.11.* release line, which will retain PHP4 compatibility.
Also:
- Added a PEAR_LOG_TYPE_SAPI constant for use by with error_log handler.
</notes>
</release>
<release>
<version>
<release>1.12.0RC1</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2009-12-27</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
This release drops PHP4 compatibility (enforced by the package dependencies).
There is unfortunately no way to support both PHP4 and PHP5 in the same code base when running under E_ALL. Because it appears that the majority of Log package users have moved to PHP5, the Log package now targets that audience.
Given the fact that the Log package is now largely in maintenance mode, existing PHP4 users shouldn&apos;t feel adandoned. If necessary, important fixes, etc. can be merged back into the 1.11.* release line, which will retain PHP4 compatibility.
</notes>
</release>
<release>
<version>
<release>1.11.6</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2009-12-26</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
The syslog handler&apos;s maximum message length is now configurable via a new &apos;maxLength&apos; configuration variable. If the handler receives a message longer than this length limit, it will be split into multiple syslog() calls.
</notes>
</release>
<release>
<version>
<release>1.11.5</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2009-07-23</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- The class name is now reported correctly when the shortcut functions are used. (Bug #16452)
</notes>
</release>
<release>
<version>
<release>1.11.4</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2009-03-29</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- The window handler now works when output buffering is enabled. (Bug 15379)
- The window handler will now scroll to the bottom when clicked. (Kevin Wood)
</notes>
</release>
<release>
<version>
<release>1.11.3</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-11-18</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- It is now possible to configure the error_log handler&apos;s line and timestamp formats. (Bug #14655)
- Added _extractMessage() support for non-scalar array(&apos;message&apos; =&gt; ...) values.
- Spaces in &apos;win&apos; handler window names are now replaced with underscores.
- Added a class name format token: %8$s
</notes>
</release>
<release>
<version>
<release>1.11.2</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-09-04</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- Correcting some breakage in Log::_getBacktraceVars(). (Bug 14595)
</notes>
</release>
<release>
<version>
<release>1.11.1</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-08-05</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
- Log::_getBacktraceVars() no longer produces notices. (Bug 14398)
- Log::_extractMessage() now uses var_export() instead of print_r(). (Bug 14430)
</notes>
</release>
<release>
<version>
<release>1.11.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-06-14</date>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
Relicensing the Log package under the MIT license.
</notes>
</release>
<release>
<version>
<release>1.10.1</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-05-03</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
<notes>
- The default value for the display handler&apos;s lineBreak configuration value wasn&apos;t being applied. (Bug 13436)
</notes>
</release>
<release>
<version>
<release>1.10.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-02-10</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
<notes>
- 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)
</notes>
</release>
<release>
<version>
<release>1.9.16</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-01-19</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
<notes>
- 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.
</notes>
</release>
<release>
<version>
<release>1.9.15</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-01-19</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
<notes>
- The Firebug handler now avoids more Javascript errors in IE. (Bug 12810)
</notes>
</release>
<release>
<version>
<release>1.9.14</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-01-01</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
<notes>
- The sql handler wasn&apos;t honoring custom SQL insertion statements. (Bug 12734)
- The display handler now has a configurable line format. (Request 12781)
</notes>
</release>
<release>
<version>
<release>1.9.13</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-12-12</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
<notes>
- The Firebug handler&apos;s unit test now passes. (Bug 12674)
- Fixed a PHP4 compatibility problem involving class_exists(). (Bug 12675)
</notes>
</release>
<release>
<version>
<release>1.9.12</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-12-11</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
<notes>
- The Firebug handler no longer generates Javascript errors in IE. (Bug 12607)
- The users guide has been updated with information on writing custom handlers.
</notes>
</release>
<release>
<version>
<release>1.9.11</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-05-13</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
<notes>
A Firebug log handler has been added.
</notes>
</release>
<release>
<version>
<release>1.9.10</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-02-04</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
<notes>
The syslog handler now has an &apos;inherit&apos; 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)
</notes>
</release>
</changelog>
</package>
Jump to Line
Something went wrong with that request. Please try again.