Function set_logger_function

Source
pub fn set_logger_function(
    callback: impl Fn(LogLevel, String) + Sync + Send + 'static,
)