rollbar 0.7.0

Track and report errors, exceptions and messages from your Rust application to Rollbar.
Documentation
#[macro_use]
extern crate rollbar;
extern crate backtrace;

fn main() {
    let client = rollbar::Client::new("ACCESS_TOKEN", "ENVIRONMENT");
    let _ = report_error_message!(client, "_| ̄|○").join();

    /* // `report_error_message!` expands to the following code:
     * let backtrace = backtrace::Backtrace::new();
     * let line = line!();
     *
     * client.build_report()
     *     .from_error_message("_| ̄|○")
     *     .with_frame(rollbar::FrameBuilder::new()
     *                 .with_line_number(line)
     *                 .with_file_name(file!())
     *                 .build())
     *     .with_backtrace(&backtrace)
     *     .send();
     * // If you want to customize the report, you might not want to use the macro.
     * // Join the thread only for testing purposes.
    */
}