Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 1 | #include <osmocom/core/utils.h> |
Neels Hofmeyr | 2f75803 | 2019-11-20 00:37:07 +0100 | [diff] [blame] | 2 | #include <osmocom/hlr/logging.h> |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 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 | 95b96d4 | 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 | }, |
Oliver Smith | bf7deda | 2019-11-20 10:56:35 +0100 | [diff] [blame] | 28 | [DMSLOOKUP] = { |
| 29 | .name = "DMSLOOKUP", |
| 30 | .description = "Mobile Subscriber Lookup", |
| 31 | .color = "\033[1;35m", |
| 32 | .enabled = 1, .loglevel = LOGL_NOTICE, |
| 33 | }, |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 34 | }; |
| 35 | |
| 36 | const struct log_info hlr_log_info = { |
| 37 | .cat = hlr_log_info_cat, |
| 38 | .num_cat = ARRAY_SIZE(hlr_log_info_cat), |
| 39 | }; |