alpm_log man page

alpm_log — Logging Functions

Functions to log using libalpm.

Functions

int alpm_logaction (alpm_handle_t *handle, const char *prefix, const char *fmt,...)
A printf-like function for logging.

Detailed Description

Functions to log using libalpm.

Function Documentation

int alpm_logaction (alpm_handle_t * handle, const char * prefix, const char * fmt, ...)

A printf-like function for logging.

Parameters:

handle the context handle
prefix caller-specific prefix for the log
fmt output format

Returns:

0 on success, -1 on error (pm_errno is set accordingly)

Referenced by alpm_add_pkg(), alpm_remove_pkg(), and alpm_trans_commit().

Author

Generated automatically by Doxygen for libalpm from the source code.

Info

Thu Mar 31 2016 libalpm