set_log_callback

Function set_log_callback 

Source
pub fn set_log_callback<T>(
    callback: Option<unsafe extern "C" fn(level: c_int, msg: *const c_char, usrptr: *mut c_void)>,
    usrdata: Option<&mut T>,
)
Expand description

Set the callback to be executed on logging events