Skip to end of metadata
Go to start of metadata

<p>This page gives ideas for Zend_Exception improvements. It could be merged in future in a more general page that could be named 'Zend debugging features improvements' and talk about Zend_Exception, Zend_Log and Zend_Debug components</p>

<h2>Improvement ideas</h2>

<ul>
<li>Make Zend_Exception optionally use a Zend_Log instance to log exceptions
<ul>
<li>Make a Zend_Controller_Front::logException() to enable that in whole MVC</li>
</ul>
</li>
<li>Create an additionnal Zend_Log level for exceptions ?</li>
<li>Use some tweaks to get the trace of the exceptions and log it as well ?
<ul>
<li>Use Zend_Debug to generate more debug info to log (optionally ) ?</li>
</ul>
</li>
<li>Alter Zend_Exception to act as a subject in the subject/observer pattern. This would allow attaching arbitrary loggers or other processes that should be exception aware (such as the MVC).</li>
</ul>

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.