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<String>>>,
}

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

Fields

Methods

impl Sentry
[src]

[src]

Creates a new connection to Sentry.

[src]

Handles a logged event.

[src]

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

[src]

[src]

Unregisters the panic handler.

[src]

Logs a fatal message to sentry.

[src]

Logs an error message to sentry.

[src]

Logs a warning message to sentry.

[src]

Logs an info message to sentry.

[src]

Logs a debug message to sentry.