pub fn with_logger<F, R>(f: F) -> Rwhere F: FnOnce(&Logger) -> R,
Access the Logger for the current logging scope
Logger
This function doesn’t have to clone the Logger so it might be a bit faster.