collection-crud/config/packages/dev/easy_log_handler.php

14 lines
373 B
PHP
Raw Normal View History

2022-11-03 10:44:05 -04:00
<?php
declare(strict_types=1);
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
2023-07-21 10:35:15 -04:00
$services = $containerConfigurator->services();
2022-11-03 10:44:05 -04:00
2023-07-21 10:35:15 -04:00
$services->set('EasyCorp\EasyLog\EasyLogHandler')
->private()
->args(['%kernel.logs_dir%/%kernel.environment%.log']);
2022-11-03 10:44:05 -04:00
};