blob: f81781d8cf9061eaf26692c8da0dd2d4340ce994 [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",
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 },
22};
23
24const struct log_info hlr_log_info = {
25 .cat = hlr_log_info_cat,
26 .num_cat = ARRAY_SIZE(hlr_log_info_cat),
27};