Skip to main content

Crate crashtrack

Crate crashtrack 

Source
Expand description

crashtrack — lightweight Windows crash reporter.

Usage:

use crashtrack::Config;

fn main() {
    crashtrack::install(Config {
        api_key:  "ct_pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        app:      "myapp",
        version:  env!("CARGO_PKG_VERSION"),
        endpoint: "https://api.crashtrack.dev",
    })
    .expect("crashtrack install");

    // ... your app runs normally. on crash, a minidump is written and
    // uploaded on the next launch.
}