Prepare for a custom logger in degesch
This commit is contained in:
parent
4d4bdc1e6a
commit
245ff38498
2
common.c
2
common.c
|
@ -22,11 +22,13 @@
|
|||
#define LIBERTY_WANT_POLLER
|
||||
#define LIBERTY_WANT_PROTO_IRC
|
||||
|
||||
#ifdef WANT_SYSLOG_LOGGING
|
||||
#define print_fatal_data ((void *) LOG_ERR)
|
||||
#define print_error_data ((void *) LOG_ERR)
|
||||
#define print_warning_data ((void *) LOG_WARNING)
|
||||
#define print_status_data ((void *) LOG_INFO)
|
||||
#define print_debug_data ((void *) LOG_DEBUG)
|
||||
#endif // WANT_SYSLOG_LOGGING
|
||||
|
||||
#include "liberty/liberty.c"
|
||||
#include <arpa/inet.h>
|
||||
|
|
Loading…
Reference in New Issue