Thursday, July 5, 2012

Log to Custom Log File in Symfony

$logger = new sfFileLogger($this->getContext()->getEventDispatcher(), array('file' => sfConfig::get('sf_log_dir').'/CronSendOrderEmail.log'));

No comments:

Post a Comment