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
Improvement ideas
- Make Zend_Exception optionally use a Zend_Log instance to log exceptions
- Make a Zend_Controller_Front::logException() to enable that in whole MVC
- Create an additionnal Zend_Log level for exceptions ?
- Use some tweaks to get the trace of the exceptions and log it as well ?
- Use Zend_Debug to generate more debug info to log (optionally ) ?
- 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).
ZF Home Page
Code Browser
Wiki Dashboard