Skip to content

Hum-Systems/bugsnag-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT licensed

bugsnag-rs

The Bugsnag api in rust.

Example

use bugsnag::{Bugsnag, Severity};

let mut bugsnag = Bugsnag::new("api-key", env!("CARGO_MANIFEST_DIR"));

// setting the appinfo is not required, but recommended
bugsnag.set_app_info(
       Some(env!("CARGO_PKG_VERSION")),
       Some("development"),
       Some("rust"),
);

bugsnag.notify("Error", "this is a message from bugsnag-rs")
       .severity(Severity::Error)
       .send()
       .unwrap();

For more examples on how to integrate bugsnag into a project, the examples folder provides some reference implementations.

BugSnag API documentation

The structure of the json can be found here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%