summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/debug.h b/debug.h
new file mode 100644
index 0000000..33745b3
--- /dev/null
+++ b/debug.h
@@ -0,0 +1,17 @@
+/*
+ * debug.h: A program for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+
+#ifndef __debug_h_
+#define __debug_h_
+
+#ifndef LOG_ERR
+#define LOG_ERR 3
+#endif
+
+#define tsyslog(fmt,...) void( (SysLogLevel > 3) ? syslog_with_tid(LOG_ERR, fmt, __VA_ARGS__) : void() )
+
+#endif \ No newline at end of file