Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

magento2 zend log

<?php
  $writer = new endLogWriterStream(BP . '/var/log/MYLOGFILE.log');
  $logger = new endLogLogger();
  $logger->addWriter($writer);
  $logger->info('Your text message');
?>
 
PREVIOUS NEXT
Tagged: #zend #log
ADD COMMENT
Topic
Name
8+4 =