/**
  * Gets the 'monolog.logger.templating' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Symfony\Bundle\MonologBundle\Logger\Logger A Symfony\Bundle\MonologBundle\Logger\Logger instance.
  */
 protected function getMonolog_Logger_TemplatingService()
 {
     $this->services['monolog.logger.templating'] = $instance = new \Symfony\Bundle\MonologBundle\Logger\Logger('templating');
     $instance->pushHandler($this->get('monolog.handler.main'));
     $instance->pushHandler($this->get('monolog.handler.firephp'));
     $instance->pushHandler($this->get('monolog.handler.debug'));
     return $instance;
 }
Ejemplo n.º 2
0
 protected function getMonolog_Logger_SecurityService()
 {
     $this->services['monolog.logger.security'] = $instance = new \Symfony\Bundle\MonologBundle\Logger\Logger('security');
     $instance->pushHandler($this->get('monolog.handler.main'));
     return $instance;
 }