Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/polderknowledge/log-module

A Zend Framework module that provides support for Monolog logger channels.
https://github.com/polderknowledge/log-module

log logger monolog php psr-3 zend-log zf2 zf3

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# log-module

[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![Total Downloads][ico-downloads]][link-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

``` bash
$ composer require polderknowledge/log-module
```

Next add the module to the module config (usually `config/modules.php` or `config/application.config.php`):

```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][link-releases] for an overview of all changes.

## Testing

``` bash
$ composer test
```

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

## Security

If you discover any security related issues, please report them via [HackerOne](https://hackerone.com/polderknowledge)
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

- [Polder Knowledge][link-author]
- [All Contributors][link-contributors]

## License

Please see [LICENSE.md][link-license] for the license of this application.

[ico-version]: https://img.shields.io/packagist/v/polderknowledge/log-module.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/polderknowledge/log-module/master.svg?style=flat-square
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/polderknowledge/log-module.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/polderknowledge/log-module.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/polderknowledge/log-module.svg?style=flat-square

[link-releases]: https://github.com/polderknowledge/log-module/releases
[link-packagist]: https://packagist.org/packages/polderknowledge/log-module
[link-travis]: https://travis-ci.org/polderknowledge/log-module
[link-scrutinizer]: https://scrutinizer-ci.com/g/polderknowledge/log-module/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/polderknowledge/log-module
[link-downloads]: https://packagist.org/packages/polderknowledge/log-module
[link-author]: https://polderknowledge.com
[link-contributors]: https://github.com/polderknowledge/log-module/contributors
[link-license]: LICENSE.md