Crate bugsnag [−] [src]
The Bugsnag api
This crate provides an interface for reporting messages to Bugsnag.
Example
let mut api = bugsnag::Bugsnag::new("api-key", env!("CARGO_MANIFEST_DIR")); // setting the appinfo is not required, but recommended api.set_app_info(Some(env!("CARGO_PKG_VERSION")), Some("development"), Some("rust")); api.notify("Info", "This is a message from the rust bugsnag api.") .severity(bugsnag::Severity::Info);
For more examples on how to integrate bugsnag into a project, the examples folder provides some reference implementations.
Modules
panic |
Structs
Bugsnag | |
NotifyBuilder |
Builder for creating the notification that will be send to Bugsnag. If the object is dropped, the notification is send to Bugsnag. |
Enums
Error | |
Severity |