Holger Hans Peter Freyther | 9c7fd8e | 2014-12-04 16:32:37 +0100 | [diff] [blame] | 1 | /* |
| 2 | * (C) 2014 by Holger Hans Peter Freyther |
| 3 | */ |
| 4 | #include "syserr.h" |
| 5 | |
| 6 | #include <osmocom/core/utils.h> |
| 7 | |
| 8 | static const struct log_info_cat default_categories[] = { |
| 9 | [DIP] = { |
| 10 | .name = "DIP", |
| 11 | .description = "IP Pool and other groups", |
| 12 | .enabled = 1, .loglevel = LOGL_NOTICE, |
| 13 | }, |
| 14 | [DTUN] = { |
| 15 | .name = "DTUN", |
| 16 | .description = "Tunnel interface", |
| 17 | .enabled = 1, .loglevel = LOGL_NOTICE, |
| 18 | }, |
| 19 | [DGGSN] = { |
| 20 | .name = "DGGSN", |
| 21 | .description = "GGSN", |
| 22 | .enabled = 1, .loglevel = LOGL_NOTICE, |
| 23 | }, |
| 24 | [DSGSN] = { |
| 25 | .name = "DSGSN", |
| 26 | .description = "SGSN Emulator", |
| 27 | .enabled = 1, .loglevel = LOGL_NOTICE, |
| 28 | }, |
| 29 | }; |
| 30 | |
| 31 | const struct log_info log_info = { |
| 32 | .cat = default_categories, |
| 33 | .num_cat = ARRAY_SIZE(default_categories), |
| 34 | }; |