The Log Component

v2.0.1 2018-02-04 13:34 UTC


Build Status Code Coverage Scrutinizer Code Quality SensioLabsInsight

The Log Component.


This package implements the PSR-3 logger interfaces so you can easily swap this package with other PSR-3 compatible package. Check the official PHP Framework Interop Group website for information about the PSR recommendations.



use miBadger\Log\Logger;
use miBadger\Log\LogHandler;

 * Create a new logger.
$logger = new Logger();

 * Create a new log handler.
$logHandler = new LogHandler();

 * Attach a log handler.

 * Log an informational message.