ZF-9192: Add an errorHandler for Zend_Log
Description
Add a way to link php errors to a Zend_Log object so that:
$log = Zend_Log::factory(...);
$log->registerErrorHandler();
would allow this to show up in the log:
trigger_error("Hello Notice", E_USER_NOTICE);
Comments
Posted by Michael Rehbein (tech13) on 2010-02-16T11:46:20.000+0000
Attached is a version of the functions requested.
Sorry, haven't written any unit tests or documentation for it yet.
Posted by Michael Rehbein (tech13) on 2010-02-18T06:48:16.000+0000
Patch contains - new code for feature - unit tests
still lacks documentation
Posted by Michael Rehbein (tech13) on 2010-02-18T10:32:03.000+0000
Patch contains - new code for feature - unit tests - English documentation
Posted by Eddo Rotman (karnaf) on 2010-03-23T02:45:50.000+0000
revision 21613