logentries / logentries-monolog-handler
This package is abandoned and no longer maintained.
No replacement package was suggested.
A handler for Monolog that sends messages to Logentries.com.
Package info
github.com/logentries/logentries-monolog-handler
pkg:composer/logentries/logentries-monolog-handler
v2.1
2016-05-31 15:23 UTC
Requires
- monolog/monolog: >=1.4
Requires (Dev)
- mockery/mockery: dev-master
This package is not auto-updated.
Last update: 2023-12-23 11:57:14 UTC
README
This plug in will no longer be officially supported or maintained by Logentries.
Current Version: 2.1
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');