Function cpp_to_rust_common::log::llog [] [src]

pub fn llog<T: Borrow<str>, F: FnOnce() -> T>(category: LoggerCategory, f: F)

Convenience method to lazy-log messages to the default logger and specified category. If messages of category are not ignored, calls the passed closure and uses its output value as a message in that category.