aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/linux/src/native/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/linux/src/native/logger.h')
-rw-r--r--plugins/linux/src/native/logger.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/linux/src/native/logger.h b/plugins/linux/src/native/logger.h
new file mode 100644
index 0000000..d832491
--- /dev/null
+++ b/plugins/linux/src/native/logger.h
@@ -0,0 +1,11 @@
+#ifdef LOGTRACE
+#define LOG_TRACE(args...) printf(args)
+#else
+#define LOG_TRACE(args...)
+#endif
+
+#ifdef LOGPOLLTRACE
+#define LOG_POLL_TRACE(args...) LOG_TRACE(args...)
+#else
+#define LOG_POLL_TRACE(args...)
+#endif