Logging Functions

Functions to log using libalpm. More...

Functions

int alpm_logaction (char *fmt,...)

Detailed Description

Functions to log using libalpm.


Function Documentation

int alpm_logaction ( char *  fmt,
  ... 
)

A printf-like function for logging.

Parameters:
fmt output format
Returns:
0 on success, -1 on error (pm_errno is set accordingly)

Definition at line 45 of file log.c.

References _alpm_logaction(), ALPM_LOG_FUNC, ASSERT, handle, _pmhandle_t::logfile, _pmhandle_t::logstream, PM_ERR_BADPERMS, PM_ERR_HANDLE_NULL, PM_ERR_NOT_A_DIR, PM_ERR_SYSTEM, pm_errno, RET_ERR, and _pmhandle_t::usesyslog.

Referenced by _alpm_runscriptlet(), alpm_trans_release(), and cb_trans_evt().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Tue Jan 15 00:02:25 2008 for libalpm by  doxygen 1.5.4