Function libcryptsetup_rs::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