netom / logentries-monolog-handler
A handler for Monolog that sends messages to Logentries.com.
Installs: 204
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 9
pkg:composer/netom/logentries-monolog-handler
Requires
- monolog/monolog: ~2.0
Requires (Dev)
- mockery/mockery: ~1.3
- phpunit/phpunit: ~8.5
This package is auto-updated.
Last update: 2025-09-19 05:03:33 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');