Skip to content

Zae/monolog-bugsnag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

monolog-bugsnag

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.

About

Monolog Handler for Bugsnag

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages