2017 © Pedro Peláez
 

library monolog-fluent

A simple Monolog handler for Fluent

image

nrk/monolog-fluent

A simple Monolog handler for Fluent

  • Sunday, July 8, 2012
  • by nrk
  • Repository
  • 2 Watchers
  • 17 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 2 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

monolog-fluent

A simple Monolog handler for Fluent., (*1)

Read more about Fluent., (*2)

Usage

<?php
use Nrk\Fluent\Monolog\FluentHandler;

$log = new Monolog\Logger('debug.monolog');

$log->pushHandler(new FluentHandler('http://127.0.0.1'));
$log->pushHandler(new FluentHandler('tcp://127.0.0.1'));

$log->addError("OH NOES!!11!1!");

In order to be able to run the examples in the examples directory, you must first download the needed dependencies the vendor directory using Composer by typing composer install in a shell. If Composer is not installed or globally available on your system then you can download its phar package and use it to install the dependencies:, (*3)

  $ wget http://getcomposer.org/composer.phar
  $ php composer.phar install

Dependencies

Author

License

The code for monolog-fluent is distributed under the terms of the MIT license (see LICENSE)., (*4)

The Versions

08/07 2012

dev-master

9999999-dev http://github.com/nrk/monolog-fluent

A simple Monolog handler for Fluent

  Sources   Download

MIT

The Requires

 

log logging monolog fluent

08/07 2012

v0.1.0

0.1.0.0 http://github.com/nrk/monolog-fluent

A simple Monolog handler for Fluent

  Sources   Download

MIT

The Requires

 

log logging monolog fluent