version 1.22, 1999/11/19 16:04:17 |
version 1.23, 1999/11/22 21:02:38 |
|
|
SYSLOG_LEVEL_FATAL, |
SYSLOG_LEVEL_FATAL, |
SYSLOG_LEVEL_ERROR, |
SYSLOG_LEVEL_ERROR, |
SYSLOG_LEVEL_INFO, |
SYSLOG_LEVEL_INFO, |
SYSLOG_LEVEL_CHAT, |
SYSLOG_LEVEL_VERBOSE, |
SYSLOG_LEVEL_DEBUG |
SYSLOG_LEVEL_DEBUG |
} LogLevel; |
} LogLevel; |
|
|
|
|
LogLevel log_level_number(char *name); |
LogLevel log_level_number(char *name); |
|
|
/* Output a message to syslog or stderr */ |
/* Output a message to syslog or stderr */ |
void fatal(const char *fmt, ...); |
void fatal(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); |
void error(const char *fmt, ...); |
void error(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); |
void log(const char *fmt, ...); |
void log(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); |
void chat(const char *fmt, ...); |
void verbose(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); |
void debug(const char *fmt, ...); |
void debug(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); |
|
|
/* same as fatal() but w/o logging */ |
/* same as fatal() but w/o logging */ |
void fatal_cleanup(void); |
void fatal_cleanup(void); |
|
|