Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

logger magento2

$writer = new endLogWriterStream(BP . '/var/log/test.log');
$logger = new endLogLogger();
$logger->addWriter($writer);
$logger->info('Your text message');
Source by magento.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #logger
ADD COMMENT
Topic
Name
5+3 =