Table of Contents
CtdlLogPrintf
Print a message to the Citadel log
SYNOPSIS
void CtdlLogPrintf (enum LogLevel loglevel, const char *format, …);
DESCRIPTION
Print a message to the Citadel log
If syslog is enabled the message is sent to the syslog daemon. If syslog is disabled and Citadel is not running as a daemon the message is sent to stderr if the verbosity level is greater than loglevel
PARAMETERS
| Parameter | Description |
|---|---|
| loglevel | Indicates the importance / severity of the message (see LogLevel) |
| format | a printf compliant format string (see printf) |
| … | Optional arguments to the format string (see printf) |
SEE ALSO
printf
LogLevel
HISTORY
This function was once called lprintf and was re-named to be compliant with the coding convention.