dev-master
9999999-dev http://github.com/mordilion/DialogLogging was never so easy
MIT
The Requires
- psr/log 1.0.2
- mordilion/configurable 0.5.*
- php >=5.6.0
logger log psr-3 logging psr3 logs
Wallogit.com
2017 © Pedro Peláez
Logging was never so easy
The Dialog library implements the PSR-3 interface and is fully configurable with INI, JSON, YAML, XML or PHP-Arrays. All Handlers, Processors and Formatters can be limit with conditions for DateTime, Level and Context-Content of a Record., (*2)
Install the latest version of Dialog with:, (*3)
$ composer require mordilion/dialog
<?php
use Dialog\Logger;
use Dialog\Handler\StreamHandler;
{...}
$logger = new Logger();
$logger->addHandler((new StreamHandler())->setUrl('/path/to/your/file.log')));
{...}
$logger->debug('This is a debug message!');
$logger->warning('This is a warning message!');
Henning Huncke - mordilion@gmx.de - https://twitter.com/Mordilion, (*4)
Dialog is licensed under the MIT License - see the LICENSE file for details., (*5)
This library is inspired by Monolog library., (*6)
Logging was never so easy
MIT
logger log psr-3 logging psr3 logs