Struct bugsnag::Bugsnag
[−]
[src]
pub struct Bugsnag { /* fields omitted */ }
Methods
impl Bugsnag
[src]
fn new(api_key: &str, project_source_dir: &str) -> Bugsnag
[src]
Creates a new instance of the Bugsnag api
fn notify<'a, 'bugsnag>(
&'bugsnag self,
error_class: &'a str,
message: &'a str
) -> NotifyBuilder<'a, 'bugsnag>
[src]
&'bugsnag self,
error_class: &'a str,
message: &'a str
) -> NotifyBuilder<'a, 'bugsnag>
Notifies the Bugsnag web-interface about an error. The function returns a builder to provide more information about the error.
fn set_device_info(&mut self, hostname: Option<&str>, version: Option<&str>)
[src]
Sets information about the device. These information will be send to Bugsnag when notify is called.
fn set_app_info(
&mut self,
version: Option<&str>,
release_stage: Option<&str>,
atype: Option<&str>
)
[src]
&mut self,
version: Option<&str>,
release_stage: Option<&str>,
atype: Option<&str>
)
Sets information about the application that uses this api. These information will be send to Bugsnag when notify is called.