getLogger() 공개 메소드

Retrieve the logger.
public getLogger ( ) : sfLogger
리턴 sfLogger The current sfLogger implementation instance.
예제 #1
0
 private function log($message)
 {
     if (sfConfig::get('sf_debug', true)) {
         $this->context->getLogger()->log($message);
     }
 }