2017 © Pedro Peláez
 

library monolog-bunyan-formatter

Bunyan Formatter for Monolog

image

lunatic/monolog-bunyan-formatter

Bunyan Formatter for Monolog

  • Friday, February 19, 2016
  • by Lunatic666
  • Repository
  • 0 Watchers
  • 1 Stars
  • 107 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

Bunyan Formatter for Monolog Build Status

About

The Bunyan formatter was ported from the Punyan project to support projects which already started with Monolog, (*1)

Requirements

  • >= PHP 5.3
  • Composer

Installation

composer require lunatic/monolog-bunyan-formatter, (*2)

Usage

use Monolog\Logger;
use Monolog\Handler\StreamHandler;
use Lunatic666\Monolog\Formatter\BunyanFormatter;

$log = new Logger('demo');
$handler = new StreamHandler('php://stdout', Logger::INFO);
$handler->setFormatter(new BunyanFormatter());
$log->pushHandler($handler);

$log->info('Hello, Mr. Bunyan', array('link' => 'https://en.wikipedia.org/wiki/Paul_Bunyan'));

The Versions

19/02 2016

dev-master

9999999-dev

Bunyan Formatter for Monolog

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

19/02 2016

0.1

0.1.0.0

Bunyan Formatter for Monolog

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires