33 #define LOG_PREFIX "sigtran"
35 #include <freeradius-devel/server/base.h>
36 #include <osmocom/core/logging.h>
39 static void do_log(
UNUSED struct log_target *target,
unsigned int level,
const char *log)
64 struct log_target *log;
65 static struct log_info info;
72 log = log_target_create();
73 log_set_use_color(log, 0);
74 log_set_print_extended_timestamp(log, 0);
75 log_set_print_timestamp(log, 0);
77 log_set_print_category(log, 1);
78 log_set_print_filename(log, 1);
80 log_set_print_category(log, 0);
81 log_set_print_filename(log, 0);
85 log_set_all_filter(log, 1);
#define DEBUG_ENABLED3
True if global debug level 1-3 messages are enabled.
static void do_log(UNUSED struct log_target *target, unsigned int level, const char *log)
void sigtran_log_init(TALLOC_CTX *ctx)
Patch our logging system into libosmo's.
Declarations for various sigtran functions.