See also:
- How does
\Magento\Framework\Logger\Monolog::critical()
work? - The default implementation of the
\Psr\Log\LoggerInterface
is\Magento\Framework\Logger\Monolog
- The exceptions are loggged into the
var/log/exception.log
file - The non-exceptional messages are loggged into the
var/log/system.log
file - The debug messages are logged into the
var/log/debug.log
file - How to write a message to a log file?