aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-07-11 19:53:39 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-07-28 12:18:23 +0200
commit3c5612f82b29a8c57e88499d6cc7cf334d66d6cb (patch)
tree9b550bc3c0340ec412edbd8928ed99b812b1987b /tests
parent2fc79dd2207b0c2a563edddea13f7ebda9213e70 (diff)
create separate logging categories for lchan,ts,as FSMs
Diffstat (limited to 'tests')
-rw-r--r--tests/handover/handover_test.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c
index 92c002dcc..a9627772a 100644
--- a/tests/handover/handover_test.c
+++ b/tests/handover/handover_test.c
@@ -1357,6 +1357,24 @@ static const struct log_info_cat log_categories[] = {
.description = "Mobile Switching Center",
.enabled = 1, .loglevel = LOGL_DEBUG,
},
+ [DCHAN] = {
+ .name = "DCHAN",
+ .description = "lchan FSM",
+ .color = "\033[1;32m",
+ .enabled = 1, .loglevel = LOGL_DEBUG,
+ },
+ [DTS] = {
+ .name = "DTS",
+ .description = "timeslot FSM",
+ .color = "\033[1;31m",
+ .enabled = 1, .loglevel = LOGL_DEBUG,
+ },
+ [DAS] = {
+ .name = "DAS",
+ .description = "assignment FSM",
+ .color = "\033[1;33m",
+ .enabled = 1, .loglevel = LOGL_DEBUG,
+ },
};
const struct log_info log_info = {