blob: 3713ab35f012f08893f290b92a5f31408e0ff770 [file] [log] [blame]
Harald Weltee72cf552016-04-28 07:18:49 +02001#include <osmocom/core/utils.h>
Neels Hofmeyr2f758032019-11-20 00:37:07 +01002#include <osmocom/hlr/logging.h>
Harald Weltee72cf552016-04-28 07:18:49 +02003
4const struct log_info_cat hlr_log_info_cat[] = {
5 [DMAIN] = {
6 .name = "DMAIN",
7 .description = "Main Program",
Neels Hofmeyr6eb231e2017-10-27 03:35:45 +02008 .enabled = 1, .loglevel = LOGL_NOTICE,
Harald Weltee72cf552016-04-28 07:18:49 +02009 },
10 [DDB] = {
11 .name = "DDB",
12 .description = "Database Layer",
13 .color = "\033[1;31m",
Neels Hofmeyr6eb231e2017-10-27 03:35:45 +020014 .enabled = 1, .loglevel = LOGL_NOTICE,
Harald Weltee72cf552016-04-28 07:18:49 +020015 },
Harald Weltee72cf552016-04-28 07:18:49 +020016 [DAUC] = {
17 .name = "DAUC",
18 .description = "Authentication Center",
19 .color = "\033[1;33m",
Neels Hofmeyr6eb231e2017-10-27 03:35:45 +020020 .enabled = 1, .loglevel = LOGL_NOTICE,
Harald Weltee72cf552016-04-28 07:18:49 +020021 },
Harald Welte95b96d42018-07-29 12:47:39 +020022 [DSS] = {
23 .name = "DSS",
24 .description = "Supplementary Services",
25 .color = "\033[1;34m",
26 .enabled = 1, .loglevel = LOGL_NOTICE,
27 },
28
Harald Weltee72cf552016-04-28 07:18:49 +020029};
30
31const struct log_info hlr_log_info = {
32 .cat = hlr_log_info_cat,
33 .num_cat = ARRAY_SIZE(hlr_log_info_cat),
34};