From 8f3b67f623fcab3b07ebbf63bd37fcd2d79aa4a2 Mon Sep 17 00:00:00 2001 From: Plamen Dimitrov Date: Sat, 10 May 2025 22:00:49 +0300 Subject: [PATCH] add logger_factory configuration to the config resource file - this way generating config files will have this setting as well --- resources/config/crunz.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/config/crunz.yml b/resources/config/crunz.yml index c3e316b..3ff07ea 100644 --- a/resources/config/crunz.yml +++ b/resources/config/crunz.yml @@ -47,6 +47,10 @@ log_allow_line_breaks: false # Set the value to true to remove them. log_ignore_empty_context: false +# To use your own logger create class implementing +# \Crunz\Application\Service\LoggerFactoryInterface then set it bellow +logger_factory: 'Crunz\Infrastructure\Psr\Logger\PsrStreamLoggerFactory' + # This option determines whether the output should be emailed or not. email_output: false