aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcommon/debug.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-06-17 00:06:42 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-27 17:40:52 +0200
commit9ccd6621fb236377c0b71d334f64bede02ec32e7 (patch)
tree82e00068f9de1a6927fc53f4c2cc8294f9c2c0bf /src/libcommon/debug.c
parentf2ff307ba1b19e3d40e1435b09023c124287844e (diff)
Add libvlr implementation
Original libvlr code is by Harald Welte <laforge@gnumonks.org>, polished and tweaked by Neels Hofmeyr <nhofmeyr@sysmocom.de>. This is a long series of trial-and-error development collapsed in one patch. This may be split in smaller commits if reviewers prefer that. If we can keep it as one, we have saved ourselves the additional separation work. Related: OS#1592 Change-Id: Ie303c98f8c18e40c87c1b68474b35de332033622
Diffstat (limited to 'src/libcommon/debug.c')
-rw-r--r--src/libcommon/debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcommon/debug.c b/src/libcommon/debug.c
index f29f1683..088902a6 100644
--- a/src/libcommon/debug.c
+++ b/src/libcommon/debug.c
@@ -180,6 +180,11 @@ static const struct log_info_cat default_categories[] = {
.description = "PCU Interface",
.enabled = 1, .loglevel = LOGL_DEBUG,
},
+ [DVLR] = {
+ .name = "DVLR",
+ .description = "Visitor Location Register",
+ .enabled = 1, .loglevel = LOGL_DEBUG,
+ },
};
static int filter_fn(const struct log_context *ctx, struct log_target *tar)