weteef / eventerrorlogger
Zend Framework 2 module for logging dispatch.error and render.error events
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 3 449
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.3
- zendframework/zendframework: >=2.0
This package is not auto-updated.
Last update: 2024-03-11 22:54:13 UTC
README
This module logs dispatch.error and render.error events. It's useful on a production system to get notified when a user gets an error page.
##Installation
- Add
"weteef/eventerrorlogger": "1.*"
to the require section of your composer.json - Add
'EventErrorLogger'
to the modules array in your application.config.php - Copy the file
weteef/eventerrorlogger/config/eventerrorlogger.global.php.dist
to theconfig/autoload
folder an rename it toeventerrorlogger.global.php
- Add a logger to the loggers array. Example:
'loggers' => array(
'myLogger'
),
The logger need to be a instance of \Zend\Log\LoggerInterface