set_log_cb

Function set_log_cb 

Source
pub unsafe fn set_log_cb(
    cb: impl Fn(Level, &'static CStr, &'static CStr, u32, &[u8]) + 'static,
    min_level: Level,
)
Expand description

Sets the log callback function.

ยงSafety

This function is unsafe because it writes to a static variable without synchronization. It should only be used during startup.