2016-04-28 05:18:49 +00:00
|
|
|
#include <osmocom/core/utils.h>
|
|
|
|
#include "logging.h"
|
|
|
|
|
|
|
|
const struct log_info_cat hlr_log_info_cat[] = {
|
|
|
|
[DMAIN] = {
|
|
|
|
.name = "DMAIN",
|
|
|
|
.description = "Main Program",
|
2017-10-27 01:35:45 +00:00
|
|
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
2016-04-28 05:18:49 +00:00
|
|
|
},
|
|
|
|
[DDB] = {
|
|
|
|
.name = "DDB",
|
|
|
|
.description = "Database Layer",
|
|
|
|
.color = "\033[1;31m",
|
2017-10-27 01:35:45 +00:00
|
|
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
2016-04-28 05:18:49 +00:00
|
|
|
},
|
|
|
|
[DAUC] = {
|
|
|
|
.name = "DAUC",
|
|
|
|
.description = "Authentication Center",
|
|
|
|
.color = "\033[1;33m",
|
2017-10-27 01:35:45 +00:00
|
|
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
2016-04-28 05:18:49 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
const struct log_info hlr_log_info = {
|
|
|
|
.cat = hlr_log_info_cat,
|
|
|
|
.num_cat = ARRAY_SIZE(hlr_log_info_cat),
|
|
|
|
};
|