This plug in will no longer be officially supported or maintained by Logentries.
Current Version: 2.1
Add the following to your composer.json and run composer update
{
"require": {
"logentries/logentries-monolog-handler": "dev-master"
}
}
$monolog->pushHandler(new Logentries\Handler\LogentriesHandler('YOUR_TOKEN'));
$monolog = new Logger('TestLog');
$monolog->pushHandler(new LogentriesHandler('YOUR_TOKEN'));
$monolog->addWarning('This is a warning logging message');