2017 © Pedro Peláez
 

library monolog-airbrake

Airbrake Handler for Monolog

image

wirebox/monolog-airbrake

Airbrake Handler for Monolog

  • Friday, July 31, 2015
  • by TheoKouzelis
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

:warning: PLEASE NOTE: This repository is no longer actively maintained or supported. Please see airbrake/phpbrake for a maintained airbrake monolog handler., (*1)


Installation

Add the following to your composer.json and run composer update, (*2)

{
    "require": {
        "wirebox/monolog-airbrake": "dev-master"
    }
}

Usage

$monolog->pushHandler(new Idio\MonologHandlers\AirbrakeHandler('AIRBRAKE TOKEN', array('airbrakeconfig' => 'here')));

Full example

$monolog = new Logger('TestLog');
$monolog->pushHandler(new Idio\MonologHandlers\AirbrakeHandler('AIRBRAKE TOKEN', array('airbrakeconfig' => 'here')));
$monolog->addWarning('This is a warning logging message');

The Versions

31/07 2015

dev-master

9999999-dev http://github.com/idio/monolog-airbrake

Airbrake Handler for Monolog

  Sources   Download

MIT

The Requires

 

The Development Requires

log psr-3 logging monolog airbrake