The log module is a Zend Framework module that provides support for Monolog logger channels. This module also comes with a standard error logger enabled which is used to log PHP notices, warnings and errors in applications.
Via Composer
$ composer require polderknowledge/log-module
Next add the module to the module config (usually config/modules.php
or config/application.config.php
):
return [
'modules' => [
'PolderKnowledge\\LogModule',
],
];
This module has a predefined ErrorLogger
logging channel configured. This channel is used to write PHP notices,
warnings and errors to. Since it depends on the application on how to handle these messages, there are no handlers
defined for this channel.
Please have a look at the releases section for an overview of all changes.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please report them via HackerOne instead of using the issue tracker or e-mail.
We have an IRC channel where you can find us every now and then. We're on the Freenode network in the channel #polderknowledge.
Please see LICENSE.md for the license of this application.