aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs
diff options
context:
space:
mode:
Diffstat (limited to 'CommonLibs')
-rw-r--r--CommonLibs/debug.c8
-rw-r--r--CommonLibs/debug.h1
2 files changed, 8 insertions, 1 deletions
diff --git a/CommonLibs/debug.c b/CommonLibs/debug.c
index 01854c0..c6de21a 100644
--- a/CommonLibs/debug.c
+++ b/CommonLibs/debug.c
@@ -10,9 +10,15 @@ static const struct log_info_cat default_categories[] = {
.color = NULL,
.enabled = 1, .loglevel = LOGL_NOTICE,
},
+ [DDEV] = {
+ .name = "DDEV",
+ .description = "Device/Driver specific code",
+ .color = NULL,
+ .enabled = 1, .loglevel = LOGL_INFO,
+ },
[DLMS] = {
.name = "DLMS",
- .description = "LimeSuite category",
+ .description = "Logging from within LimeSuite itself",
.color = NULL,
.enabled = 1, .loglevel = LOGL_NOTICE,
},
diff --git a/CommonLibs/debug.h b/CommonLibs/debug.h
index 06ad74e..f8f6239 100644
--- a/CommonLibs/debug.h
+++ b/CommonLibs/debug.h
@@ -5,5 +5,6 @@ extern const struct log_info log_info;
/* Debug Areas of the code */
enum {
DMAIN,
+ DDEV,
DLMS,
};