ozh/log

Simple PSR-3 logger to log messages into an array

Maintainers

Package info

github.com/ozh/log

pkg:composer/ozh/log

Statistics

Installs: 27

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0 2017-08-17 12:10 UTC

This package is auto-updated.

Last update: 2026-03-09 23:39:22 UTC


README

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.