alex-patterson-webdev/laminas-monolog

Monolog integration module for Laminas Applications

0.2.0 2023-04-30 16:44 UTC

This package is auto-updated.

Last update: 2024-03-30 00:17:49 UTC


README

github workflow codecov Scrutinizer Code Quality

Arp\LaminasMonolog

About

Monolog integration module for Laminas Applications

Installation

Installation via Composer.

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

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.