2016-04-28 05:18:49 +00:00
|
|
|
#include <osmocom/core/utils.h>
|
2019-11-19 23:37:07 +00:00
|
|
|
#include <osmocom/hlr/logging.h>
|
2016-04-28 05:18:49 +00:00
|
|
|
|
|
|
|
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
|
|
|
},
|
2018-07-29 10:47:39 +00:00
|
|
|
[DSS] = {
|
|
|
|
.name = "DSS",
|
|
|
|
.description = "Supplementary Services",
|
|
|
|
.color = "\033[1;34m",
|
|
|
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
|
|
|
},
|
2019-11-20 09:56:35 +00:00
|
|
|
[DMSLOOKUP] = {
|
|
|
|
.name = "DMSLOOKUP",
|
|
|
|
.description = "Mobile Subscriber Lookup",
|
|
|
|
.color = "\033[1;35m",
|
|
|
|
.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),
|
|
|
|
};
|