yoshi2889/multilog

PSR-3 compliant logging proxy

dev-master 2017-07-10 21:11 UTC

This package is auto-updated.

Last update: 2024-04-07 14:59:41 UTC


README

Build Status Scrutinizer Code Quality Latest Stable Version Latest Unstable Version Total Downloads

A PSR-3 compliant proxy for logging to multiple other PSR-3 compliant loggers.

Installation

You can install this class via composer:

composer require yoshi2889/multilog

Usage

Create an instance of Multilog\Proxy and add any instance of LoggerInterface to it, either via the constructor or via the addLogger method. Logging via PSR-3 methods will cause Multilog to log to all registered loggers.

License

This code is released under the MIT License. Please see LICENSE to read it.