pub fn with_logger<F, R>(f: F) -> Rwhere F: FnOnce(&Logger) -> R,
Execute a closure with the reference to Logger associated with the current scope.
Logger