Pau Espin Pedrol | 5ea1817 | 2018-02-20 16:48:15 +0100 | [diff] [blame^] | 1 | #include <osmocom/core/logging.h> |
2 | #include <osmocom/core/utils.h> | ||||
3 | #include "debug.h" | ||||
4 | |||||
5 | /* default categories */ | ||||
6 | static const struct log_info_cat default_categories[] = { | ||||
7 | [DMAIN] = { | ||||
8 | .name = "DMAIN", | ||||
9 | .description = "Main generic category", | ||||
10 | .color = NULL, | ||||
11 | .enabled = 1, .loglevel = LOGL_NOTICE, | ||||
12 | }, | ||||
13 | }; | ||||
14 | |||||
15 | const struct log_info log_info = { | ||||
16 | .cat = default_categories, | ||||
17 | .num_cat = ARRAY_SIZE(default_categories), | ||||
18 | }; |