privates['monolog.logger.mailer'] = $instance = new \Symfony\Bridge\Monolog\Logger('mailer'); $instance->pushProcessor(($container->privates['debug.log_processor'] ?? $container->getDebug_LogProcessorService())); $instance->pushHandler(($container->privates['monolog.handler.console'] ?? $container->getMonolog_Handler_ConsoleService())); $instance->pushHandler(($container->privates['monolog.handler.main'] ?? $container->getMonolog_Handler_MainService())); \Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddDebugLogProcessorPass::configureLogger($instance); return $instance; } }