2017 © Pedro Peláez
 

library dialog

Logging was never so easy

image

mordilion/dialog

Logging was never so easy

  • Wednesday, April 18, 2018
  • by mordilion
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Dialog - A PSR-3 based logger interface for PHP

Total Downloads, (*1)

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)

Installation

Install the latest version of Dialog with:, (*3)

$ composer require mordilion/dialog

Basic usage

<?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!');

Documentation

About

Author

Henning Huncke - mordilion@gmx.de - https://twitter.com/Mordilion, (*4)

License

Dialog is licensed under the MIT License - see the LICENSE file for details., (*5)

Acknowledgements

This library is inspired by Monolog library., (*6)

The Versions

18/04 2018

dev-master

9999999-dev http://github.com/mordilion/Dialog

Logging was never so easy

  Sources   Download

MIT

The Requires

 

logger log psr-3 logging psr3 logs