Struct sentry_rs::Sentry [] [src]

pub struct Sentry {
    pub server_name: String,
    pub release: String,
    pub environment: String,
    pub worker: Arc<SingleWorker<Event, SentryCredentials>>,
    pub reciever: Arc<Mutex<Receiver<()>>>,
}

A Sentry Object, instiates the worker, and actually is what you send your sentry events too.

Fields

Methods

impl Sentry
[src]

Creates a new connection to Sentry.

Handles a logged event.

Sets up a sentry hook to listen for panic!()'s, and post the results to Sentry.

Unregisters the panic handler.

Logs a fatal message to sentry.

Logs an error message to sentry.

Logs a warning message to sentry.

Logs an info message to sentry.

Logs a debug message to sentry.