alex-patterson-webdev/laminas-monolog

Monolog integration module for Laminas Applications

0.1.0 2022-03-20 19:02 UTC

This package is auto-updated.

Last update: 2022-06-20 19:31:13 UTC


README

codecov Scrutinizer Code Quality

Arp\LaminasMonolog

About

Monolog integration module for Laminas Applications

Installation

Installation via Composer.

require alex-patterson-webdev/laminas-monolog ^0.1

Register the modules services with the Laminas Service Manager by adding the module namespace to your applications config/modules.config.php file.

// config/modules.config.php
return [
    // ...
    'Arp\\LaminasMonolog',
    // ...
];

Loggers

The easiest way to create a new Monolog logger is via configuration options. The Arp\\Monolog provides factory classes to allow for most of the default Monolog features to be optionally included, without having to write any code.