caisse-bliss/var/cache/dev/ContainerCWF53NS/getMonolog_LoggerService.php

31 lines
1.2 KiB
PHP
Raw Normal View History

2023-06-19 12:13:30 +02:00
<?php
namespace ContainerCWF53NS;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getMonolog_LoggerService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'monolog.logger' shared service.
*
* @return \Symfony\Bridge\Monolog\Logger
*/
public static function do($container, $lazyLoad = true)
{
$container->privates['monolog.logger'] = $instance = new \Symfony\Bridge\Monolog\Logger('app');
$instance->pushProcessor(($container->privates['debug.log_processor'] ?? $container->getDebug_LogProcessorService()));
$instance->useMicrosecondTimestamps(true);
$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;
}
}