pub fn log_set_default_handler<P: Fn(Option<&str>, LogLevel, &str) + Send + Sync + 'static>( log_func: P, )
To set back the default print handler, use the log_unset_default_handler function.
log_unset_default_handler