7 #define LOG_EMERG 0 /* system is unusable */
8 #define LOG_ALERT 1 /* action must be taken immediately */
9 #define LOG_CRIT 2 /* critical conditions */
10 #define LOG_ERR 3 /* error conditions */
11 #define LOG_WARNING 4 /* warning conditions */
12 #define LOG_NOTICE 5 /* normal but signification condition */
13 #define LOG_INFO 6 /* informational */
14 #define LOG_DEBUG 7 /* debug-level messages */
16 /* NT event log does not support facility level */
33 /* Constant definitions for openlog() */
41 openlog(const char *ident, int logopt, int facility);
44 syslog(int priority, const char *message, ...);