You can write messages to Magento 2′s system.log using the following code:
|
1 |
$this->_logger->info('... message ... '); |
Logging in Magento 2
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.