[−][src]Function wlroots::utils::log::init_logging
pub fn init_logging<F>(verbosity: LogVerbosity, callback: F) where
F: Into<Option<LogCallback>>,
Initialize wlroots logging at a certain level of verbosity with an optional callback that will be called for every log.
To log using this system, use the
wlr_log!
macro.