alpm_sys

Function 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)