Home Download News FAQ / Knowledge Base Screenshots Documentation Support Site map
philosophical imaginary
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

ParameterDescription
loglevelIndicates the importance / severity of the message (see LogLevel)
formata 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.

Copyright © 1987-2014 Uncensored Communications Group. All rights reserved.     Login (site admin)