How to enable logging
The logging in Magium is fairly full featured. Almost all commands are passed through a logger. Out of the box logging is configured to use the Noop logger; i.e. no logging. However you can turn logging on quite easily by adding a file to the /configuration directory that has the appropriate logging configuration set
<?php
return [
'instance' => [
Magium\Util\Log\Logger::class => [
'parameters' => [
'options' => [
'writers' => [
[
'name' => \Zend\Log\Writer\Stream::class,
'options' => [
'stream' => 'f:/tmp/magium.log'
]
]
]
]
]
]
]
];
/configuration/logging.php