Software Logs

ShineISP save all the exceptions in a simple text file called for instance 2014-07-03-error.log within the "/data/log/". Every module has a Listener to handle the events when save (before, after). All the posted vars are readable by a simple:

$data = $e->getParam('data');
and this command save it in the log file.
$this->serviceManager->get('Zend\Log\Logger')->crit($data);

You can find the listeners at the

/modules/MyModule/src/MyModule/Listeners/MyModuleListener.php

Every listeners must be register within the Module.php file.

results matching ""

    No results matching ""