summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-07-07 19:46:38 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-18 17:00:08 +0200
commit199f37723bfef9fb5e8d0f01729adb21e11f0638 (patch)
treed38dadad87d1e682fe7682d37f2c7169e24d239a /include/osmocom
parent39c0243d9b208a5d480be2e5cf538b3eac87860d (diff)
logging: add libosmo-abis logging subsystems
This adds the libosmo-abis logging subsystems to libosmocore, it uses the new change that harald proposed based on negative numbers for library logging subsystems.
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/core/logging.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 390fc983..04692d39 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -39,7 +39,13 @@ void logp(int subsys, char *file, int line, int cont, const char *format, ...) _
/* logging levels defined by the library itself */
#define DLGLOBAL -1
#define DLLAPDM -2
-#define OSMO_NUM_DLIB 2
+#define DINP -3
+#define DMUX -4
+#define DMI -5
+#define DMIB -6
+#define DRSL -7
+#define DNM -8
+#define OSMO_NUM_DLIB 9
struct log_category {
uint8_t loglevel;