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]
fn cancel_reset(self)
Cancel resetting global logger