Logging in MVC (Zend Framework)
Posted
by superdario
on Stack Overflow
See other posts from Stack Overflow
or by superdario
Published on 2010-05-26T07:30:53Z
Indexed on
2010/05/26
7:41 UTC
Read the original article
Hit count: 185
Is there a best-practice when it comes to where to put the logging functionality in an MVC application, for example a Zend Framework application (Zend_Log)? Should I put the logging in the controller or in the model? Or in both?
If in both, should they have the same logger or a separate one?
© Stack Overflow or respective owner