sentry 0.23.0

Sentry (getsentry.com) client for rust ;)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    let _sentry = sentry::init(());

    sentry::with_scope(
        |scope| {
            scope.set_level(Some(sentry::Level::Warning));
            scope.set_fingerprint(Some(["a-message"].as_ref()));
            scope.set_tag("foo", "bar");
        },
        || {
            panic!("Shit's on fire yo. 🔥 🚒");
        },
    );
}