Skip to content

A Zend Framework module that provides support for Monolog logger channels.

License

Notifications You must be signed in to change notification settings

polderknowledge/log-module

Repository files navigation

log-module

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.

Install

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',
    ],
];

Usage

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.

Change log

Please have a look at the releases section for an overview of all changes.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please report them via HackerOne instead of using the issue tracker or e-mail.

Community

We have an IRC channel where you can find us every now and then. We're on the Freenode network in the channel #polderknowledge.

Credits

License

Please see LICENSE.md for the license of this application.