zae/monolog-bugsnag

A monolog handler that will send messages to bugsnag

1.0.0 2015-09-18 10:04 UTC

This package is auto-updated.

Last update: 2024-12-10 10:39:51 UTC


README

Latest Version on Packagist Software License Total Downloads

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.