0.1.1 • Published 8 years ago

mongodb-js-bugsnag v0.1.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
8 years ago

bugsnag-api-wrapper travis npm

Light wrapper around bugsnag's API and abstract out api-specific functions

Install

npm install mongodb-js-bugsnag
var bugsnag = require('mongodb-js-bugsnag')

Example

The wrapper exposes two basic functions getErrors and getEvents.

getErrors(<querystring>, callback);

getErrors returns a list of all errors filtered by the querystring - narrow down errors returned by release_stages, app_versions, severity, status through the query string parameter.

getEvents(<querystring>, callback);

getEvents returns a list of all events (individual crashes) filtered by the querystring - narrow down events returned by start_time, end_time through the query string parameter.

Please refer to the Bugsnag API documentation for valid querystrings.

License

Apache 2.0