Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 1 | #include <osmocom/core/utils.h> |
| 2 | #include "logging.h" |
| 3 | |
| 4 | const struct log_info_cat hlr_log_info_cat[] = { |
| 5 | [DMAIN] = { |
| 6 | .name = "DMAIN", |
| 7 | .description = "Main Program", |
Neels Hofmeyr | 6eb231e | 2017-10-27 03:35:45 +0200 | [diff] [blame] | 8 | .enabled = 1, .loglevel = LOGL_NOTICE, |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 9 | }, |
| 10 | [DDB] = { |
| 11 | .name = "DDB", |
| 12 | .description = "Database Layer", |
| 13 | .color = "\033[1;31m", |
Neels Hofmeyr | 6eb231e | 2017-10-27 03:35:45 +0200 | [diff] [blame] | 14 | .enabled = 1, .loglevel = LOGL_NOTICE, |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 15 | }, |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 16 | [DAUC] = { |
| 17 | .name = "DAUC", |
| 18 | .description = "Authentication Center", |
| 19 | .color = "\033[1;33m", |
Neels Hofmeyr | 6eb231e | 2017-10-27 03:35:45 +0200 | [diff] [blame] | 20 | .enabled = 1, .loglevel = LOGL_NOTICE, |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 21 | }, |
Harald Welte | e2e5cef | 2018-07-29 12:47:39 +0200 | [diff] [blame^] | 22 | [DSS] = { |
| 23 | .name = "DSS", |
| 24 | .description = "Supplementary Services", |
| 25 | .color = "\033[1;34m", |
| 26 | .enabled = 1, .loglevel = LOGL_NOTICE, |
| 27 | }, |
| 28 | |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | const struct log_info hlr_log_info = { |
| 32 | .cat = hlr_log_info_cat, |
| 33 | .num_cat = ARRAY_SIZE(hlr_log_info_cat), |
| 34 | }; |