collection-crud/config/packages/dev/easy_log_handler.php
2023-07-21 10:35:15 -04:00

14 lines
373 B
PHP

<?php
declare(strict_types=1);
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
$services = $containerConfigurator->services();
$services->set('EasyCorp\EasyLog\EasyLogHandler')
->private()
->args(['%kernel.logs_dir%/%kernel.environment%.log']);
};