summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-11-02 15:17:50 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-02 15:39:31 +0100
commit79125ecf7d54b04cc56818b6dd99813d0a4daf89 (patch)
treea3f88348f3435ab9d23cb8e814c390586e2f6e16 /include
parentbc9d9aced8c174bbb5fc265ec746621d31344be0 (diff)
log: Add new DLSTATS log level
This log level is used by the stats subsystem log reporter to report statistics to level INFO. Note that the default level of DLSTATS is NOTICE. Sponsored-by: On-Waves ehf
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/logging.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index ba41762f..1c159d0b 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -69,7 +69,8 @@ void logp(int subsys, const char *file, int line, int cont, const char *format,
#define DLSMS -7
#define DLCTRL -8
#define DLGTP -9
-#define OSMO_NUM_DLIB 9
+#define DLSTATS -10
+#define OSMO_NUM_DLIB 10
struct log_category {
uint8_t loglevel;