aboutsummaryrefslogtreecommitdiffstats
path: root/trxcon/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'trxcon/logging.h')
-rw-r--r--trxcon/logging.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/trxcon/logging.h b/trxcon/logging.h
new file mode 100644
index 0000000..152c346
--- /dev/null
+++ b/trxcon/logging.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <osmocom/core/logging.h>
+
+#define DEBUG_DEFAULT "DAPP:DL1C:DL1D:DTRX:DTRXD:DSCH:DSCHD"
+
+enum {
+ DAPP,
+ DL1C,
+ DL1D,
+ DTRX,
+ DTRXD,
+ DSCH,
+ DSCHD,
+};
+
+int trx_log_init(void *tall_ctx, const char *category_mask);