Issues

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

Attached is a version of the functions requested.
Sorry, haven't written any unit tests or documentation for it yet.

Patch contains - new code for feature - unit tests

still lacks documentation

Patch contains - new code for feature - unit tests - English documentation

revision 21613