Last active
October 6, 2015 13:48
-
-
Save Flard/3002721 to your computer and use it in GitHub Desktop.
symfony logger in code
This file contains 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
if (sfConfig::get('sf_logging_enabled')) { | |
sfContext::getInstance()->getEventDispatcher()->notify(new sfEvent('category', 'application.log', array('message' => 'Message', 'priority' => sfLogger::DEBUG))); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment