Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 1 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
function log_message($message, $priority = 'info')
|
|
|
4 |
{
|
|
|
5 |
if (sfConfig::get('sf_logging_enabled'))
|
|
|
6 |
{
|
|
|
7 |
sfContext::getInstance()->getEventDispatcher()->notify(new sfEvent(null, 'application.log', array($message, 'priority' => constant('sfLogger::'.strtoupper($priority)))));
|
|
|
8 |
}
|
|
|
9 |
}
|