Function slog_stdlog::with_current_logger
[−]
[src]
pub fn with_current_logger<F, R>(f: F) -> R where F: FnOnce(&Logger) -> R
Access the currently active logger
The reference logger will be either: * global logger, or * currently active scope logger
Warning: Calling scope
inside f
will result in a panic.