Struct actix_tools::sentry::sentry_client::integrations::log::LoggerOptions [−][src]
pub struct LoggerOptions {
pub global_filter: Option<LevelFilter>,
pub filter: LevelFilter,
pub emit_breadcrumbs: bool,
pub emit_error_events: bool,
pub emit_warning_events: bool,
}Logger specific options.
Fields
global_filter: Option<LevelFilter>
The global filter that should be used (also used before dispatching to the nested logger).
filter: LevelFilter
The sentry specific log level filter (defaults to Info)
If set to true, breadcrumbs are emitted. (defaults to true)
emit_error_events: bool
If set to true error events are sent for errors in the log. (defaults to true)
emit_warning_events: bool
If set to true warning events are sent for warnings in the log. (defaults to false)
Trait Implementations
impl Default for LoggerOptions[src]
impl Default for LoggerOptionsfn default() -> LoggerOptions[src]
fn default() -> LoggerOptionsReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for LoggerOptions
impl Send for LoggerOptionsimpl Sync for LoggerOptions
impl Sync for LoggerOptions