Function alpm_sys::alpm_logaction

source ·
pub unsafe extern "C" fn alpm_logaction(
    handle: *mut alpm_handle_t,
    prefix: *const c_char,
    fmt: *const c_char
    ...
) -> c_int
Expand description

A printf-like function for logging. @param handle the context handle @param prefix caller-specific prefix for the log @param fmt output format @return 0 on success, -1 on error (pm_errno is set accordingly)