mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Logging is now configurable. You can define multiple log outputs (to both
files and syslog) and assign lists of message categories to each of them.
This commit is contained in:
@ -44,9 +44,6 @@ void bug(char *msg, ...) NORET;
|
||||
#define L_FATAL "\007" /* Fatal errors */
|
||||
#define L_BUG "\010" /* BIRD bugs */
|
||||
|
||||
void log_init(char *); /* Initialize logging to given file (NULL=stderr, ""=syslog) */
|
||||
void log_init_debug(char *); /* Initialize debug dump to given file (NULL=stderr, ""=off) */
|
||||
|
||||
void debug(char *msg, ...); /* Printf to debug output */
|
||||
|
||||
/* Debugging */
|
||||
|
Reference in New Issue
Block a user