final-gene / monolog-module
Monolog ZF2 module
1.0.1
2018-12-10 09:23 UTC
Requires
- php: >=5.5.0
- monolog/monolog: ^1.18
- raven/raven: ^0.13.0
- zendframework/zend-code: ^2.6
- zendframework/zend-config: ^2.6
- zendframework/zend-modulemanager: ^2.6
- zendframework/zend-servicemanager: ^2.6
Requires (Dev)
- final-gene/phing-commons: ^2.2
- phpunit/phpunit: ^4.8
- zendframework/zend-filter: ^2.6
- zendframework/zend-form: ^2.6
- zendframework/zend-i18n: ^2.6
- zendframework/zend-inputfilter: ^2.6
- zendframework/zend-log: ^2.6
- zendframework/zend-serializer: ^2.6
- zendframework/zend-stdlib: ^2.6
- zendframework/zend-test: ^2.6
- zendframework/zend-validator: ^2.6
This package is auto-updated.
Last update: 2024-12-10 22:31:45 UTC
README
Monolog module for Zendframework 2
Installation
Installation of this module uses composer.
$ composer require final-gene/monolog-module
Then add FinalGene\MonologModule
to your application configuration.
Configuration
The monolog settings can be placed in the autoload directory of your application.
The following example represents a possible configuration.
<?php return [ 'monolog' => [ // Error handler 'error_handler' => 'DefaultLogger', // Loggers 'loggers' => [ 'DefaultLogger' => [ 'handlers' => [ [ 'class' => Monolog\Handler\NullHandler::class, 'params' => [ 'level' => Monolog\Logger::DEBUG ] ] ] ] ] ] ];