Struct slog_scope::GlobalLoggerGuard [] [src]

#[must_use]
pub struct GlobalLoggerGuard { /* fields omitted */ }

Guard resetting global logger

On drop it will reset global logger to slog::Discard. This will drop any existing global logger.

Methods

impl GlobalLoggerGuard
[src]

Cancel resetting global logger

Trait Implementations

impl Drop for GlobalLoggerGuard
[src]

A method called when the value goes out of scope. Read more