Function bp3d_logger::with_logger
source ยท pub fn with_logger<R, F: FnOnce() -> R>(logger: Builder, f: F) -> RExpand description
Runs a closure in scope of a logger configuration, then free the given logger configuration and return closure result.