weew / app-error-handler-monolog
Integrates monolog/monolog logger into weew/app-error-handler.
v2.2.2
2016-07-21 11:17 UTC
Requires
- weew/app-error-handler: ^1.2
- weew/app-monolog: ^1.1
Requires (Dev)
- phpunit/phpunit: ^4.7
- satooshi/php-coveralls: ^0.6.1
This package is not auto-updated.
Last update: 2024-11-05 22:26:29 UTC
README
Table of contents
Installation
composer require weew/app-error-handler-monolog
Introduction
This package integrates Monolog into the weew/app-error-handler package.
Usage
To enable this provider simply register it on the kernel.
$app->getKernel()->addProviders([ ErrorHandlingProvider::class, MonologProvider::class, MonologErrorHandlerProvider::class, ]);
Example config
This is how the config might look like in yaml:
monolog_error_handler: channel_name: error