weew/app-error-handler-monolog

Integrates monolog/monolog logger into weew/app-error-handler.

v2.2.2 2016-07-21 11:17 UTC

This package is not auto-updated.

Last update: 2024-11-05 22:26:29 UTC


README

Build Status Code Quality Test Coverage Version Licence

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