2 * xlog Logging functionality
4 * Copyright (C) 1995 Olaf Kirch <okir@monad.swb.de>
10 #define L_FATAL 0x0100
11 #define L_ERROR 0x0200
12 #define L_WARNING 0x0400
13 #define L_NOTICE 0x0800
16 #define D_GENERAL 0x0001 /* general debug info */
22 #define D_PARSE 0x0040
26 /* This can be used to define symbolic log names that can be passed to
28 struct xlog_debugfac {
33 void xlog_open(char *progname);
34 void xlog_background(void);
35 void xlog_config(int fac, int on);
36 void xlog_sconfig(char *, int on);
37 int xlog_enabled(int fac);
38 void xlog(int fac, const char *fmt, ...);