Skip to content
/ log Public

Minimalist PSR-3 logger, that logs into an array.

License

Notifications You must be signed in to change notification settings

ozh/log

Repository files navigation

Ozh\Log

A minimalist PSR-3 compliant logger, that logs into an array.

Latest Version on Packagist Software License Build Status Code Coverage Scrutinizer Code Quality

Install

Via Composer

$ composer require ozh/log

Usage

use \Ozh\Log\Logger;

require '../vendor/autoload.php';

$logger = new Logger();
$logger->debug('This is a debug message');

See examples/examples.php for more examples.

This library is fully tested on PHP 5.3 to 7.2 and HHVM.