blob: 54c89007556777f1ddfd837224b073e343141f61 [file] [log] [blame]
Harald Weltee72cf552016-04-28 07:18:49 +02001#include <osmocom/core/utils.h>
2#include "logging.h"
3
4const struct log_info_cat hlr_log_info_cat[] = {
5 [DMAIN] = {
6 .name = "DMAIN",
7 .description = "Main Program",
8 .enabled = 1, .loglevel = LOGL_DEBUG,
9 },
10 [DDB] = {
11 .name = "DDB",
12 .description = "Database Layer",
13 .color = "\033[1;31m",
14 .enabled = 1, .loglevel = LOGL_DEBUG,
15 },
16 [DLGSUP] = {
17 .name = "DLGSUP",
18 .description = "GSUP Protocol",
19 .color = "\033[1;32m",
20 .enabled = 1, .loglevel = LOGL_INFO,
21 },
22 [DAUC] = {
23 .name = "DAUC",
24 .description = "Authentication Center",
25 .color = "\033[1;33m",
26 .enabled = 1, .loglevel = LOGL_DEBUG,
27 },
28};
29
30const struct log_info hlr_log_info = {
31 .cat = hlr_log_info_cat,
32 .num_cat = ARRAY_SIZE(hlr_log_info_cat),
33};