yoshi2889 / multilog
PSR-3 compliant logging proxy
dev-master
2017-07-10 21:11 UTC
Requires
- php: >=7.1.0
- psr/log: ^1.0
Requires (Dev)
- phpunit/phpunit: ^6.2
This package is auto-updated.
Last update: 2024-12-07 16:16:57 UTC
README
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.