Created
January 11, 2012 16:19
-
-
Save mcrmfc/1595420 to your computer and use it in GitHub Desktop.
zend logging (when not in Micro)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Place this in your bootstrap file before dispatching your front controller | |
| $writer = new Zend_Log_Writer_Firebug(); | |
| $logger = new Zend_Log($writer); | |
| // Use this in your model, view and controller files | |
| $logger->log('This is a log message!', Zend_Log::INFO); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment