zae / monolog-bugsnag
A monolog handler that will send messages to bugsnag
Installs: 8 392
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
- bugsnag/bugsnag: ~2.0
- monolog/monolog: ~1.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2024-11-10 10:29:18 UTC
README
Monolog Handler for sending errors to bugsnag. This way not only crashes will be send but you can easily send other debug information to bugsnag by reusing your monolog error handling.
Install
Via Composer
$ composer require zae/monolog-bugsnag
Usage
$bugsnag = new Bugsnag_Client('YOUR_API_KEY'); $logger = new Logger('my_logger'); $logger->pushHandler(new BugsnagHandler(Logger::WARNING, true, 'BugsnagMonolog', $bugsnag));
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email ezra@tsdme.nl instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.