Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 742 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 742 Bytes

logentries-monolog-handler Build Status

Current Version: 2.0

Installation

Add the following to your composer.json and run composer update

{
    "require": {
        "logentries/logentries-monolog-handler": "dev-master"
    }
}

Usage

$monolog->pushHandler(new Logentries\Handler\LogentriesHandler('YOUR_TOKEN'));

Full example

$monolog = new Logger('TestLog');
$monolog->pushHandler(new LogentriesHandler('YOUR_TOKEN'));
$monolog->addWarning('This is a warning logging message');

Links

logentries.com