Function bp3d_logger::with_logger

source ยท
pub fn with_logger<R, F: FnOnce() -> R>(logger: Builder, f: F) -> R
Expand description

Runs a closure in scope of a logger configuration, then free the given logger configuration and return closure result.