ZF-9192: Add an errorHandler for Zend_Log

Issue Type: New Feature Created: 2010-02-16T11:43:19.000+0000 Last Updated: 2010-03-23T02:45:52.000+0000 Status: Resolved Fix version(s): - 1.11.0 (02/Nov/10)

Reporter: Michael Rehbein (tech13) Assignee: Eddo Rotman (karnaf) Tags: - Zend_Log

Related issues: Attachments: - zf9192.r21081.patch


Add a way to link php errors to a Zend_Log object so that:

<pre class="highlight">
$log = Zend_Log::factory(...);

would allow this to show up in the log:

<pre class="highlight">
trigger_error("Hello Notice", E_USER_NOTICE);


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

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.