terah/colourlog

A colourful PSR3 Logger


README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

A simple PSR3 compliant logger with basic colours.

Install

Via Composer

$ composer require terah/colourlog

Usage

$use_file_locking = false;
$gzip_log = false;

$logger = new \Terah\ColourLog\Logger('/path/to/log', \Psr\Log\LogLevel::INFO, $use_file_locking, $gzip_log);
$logger->error("Testing logger");

Testing

$ phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email terry@terah.com.au instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.