Download the PHP package mimmi20/monolog-laminas-factory without Composer
On this page you can find all versions of the php package mimmi20/monolog-laminas-factory. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mimmi20/monolog-laminas-factory
More information about mimmi20/monolog-laminas-factory
Files in mimmi20/monolog-laminas-factory
Package monolog-laminas-factory
Short Description Provides a Factory to build a Laminas Logger using Monolog.
License MIT
Homepage https://github.com/mimmi20/monolog-laminas-factory
Informations about the package monolog-laminas-factory
monolog-laminas-factory
Monolog Factories for Laminas and Mezzio
This library was inspired by psr11-monolog and monolog-factory.
Code Status
Table of Contents
- Installation
- Usage with Laminas and Mezzio
- Configuration
- Minimal Configuration
- Full Configuration
Installation
Run
Usage with Laminas and Mezzio
You'll need to add configuration and register the services you'd like to use. There are number of ways to do that
but the recommended way is to create a new config file config/autoload/logger.config.php
Configuration
config/autoload/monolog.global.php
Minimal Configuration
A minimal configuration would consist of at least one default handler and one named service. Please note that if you don't specify a default handler a NullHandler will be used when you wire up the default logger.
Minimal Example (using Mezzio for the example)
Full Configuration
Full Example
License
This package is licensed using the MIT License.
Please have a look at LICENSE.md
.
All versions of monolog-laminas-factory with dependencies
ext-mbstring Version *
laminas/laminas-log Version ^2.15.2
monolog/monolog Version ^2.8.0