Clogit
log server messages in local log or in system logger
- Provided by: liblcgdm-dev (Version: 1.8.10-1build3)
- Source: lcgdm
- Report a bug
log server messages in local log or in system logger
#include "Clog.h"
int Cinitlog (char *cmd, char *logfile)
int Clogit (int level, char *func, char *msg, ...)
int Cvlogit (int level, char *func, char *msg, va_list ap)
Cinitlog initializes the server logging routines.
Clogit logs server messages in a local log or in the system logger.
Cvlogit is the same as Clogit but takes a va_list instead of a variable number of arguments.
These routines return 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.