pub type alpm_cb_log = Option<unsafe extern "C" fn(ctx: *mut c_void, level: alpm_loglevel_t, fmt: *const c_char, args: *mut __va_list_tag)>;Expand description
The callback type for logging.
libalpm will call this function whenever something is to be logged. many libalpm will produce log output. Additionally any calls to \link alpm_logaction \endlink will also call this callback. @param ctx user-provided context @param level the currently set loglevel @param fmt the printf like format string @param args printf like arguments
Aliased Type§
pub enum alpm_cb_log {
None,
Some(unsafe extern "C" fn(*mut c_void, u32, *const u8, *mut __va_list_tag)),
}