Function glib::log_set_handler
source ยท pub fn log_set_handler<P: Fn(Option<&str>, LogLevel, &str) + Send + Sync + 'static>(
log_domain: Option<&str>,
log_levels: LogLevels,
fatal: bool,
recursion: bool,
log_func: P,
) -> LogHandlerId