New answers tagged

0

$writer = new \Laminas\Log\Writer\Stream(BP . '/var/log/test.log'); $logger = new \Laminas\Log\Logger(); $logger->addWriter($writer); $logger->info('text message'); for 2.4.2 above code can be used for custom log.


Top 50 recent answers are included