summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-11-13 22:15:29 +0000
committerphintuka <phintuka>2008-11-13 22:15:29 +0000
commit2e8af78269b33721b1c8274296959db27b2973f1 (patch)
tree9ff195c35b37320d568716b3c27b8436ed52f783
parentae147f2dfbe0d4562e11ca54c8b05345c4b55d60 (diff)
downloadxineliboutput-2e8af78269b33721b1c8274296959db27b2973f1.tar.gz
xineliboutput-2e8af78269b33721b1c8274296959db27b2973f1.tar.bz2
Added symbolic names for log levels
-rw-r--r--logdefs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/logdefs.h b/logdefs.h
index 281e0646..189bf191 100644
--- a/logdefs.h
+++ b/logdefs.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: logdefs.h,v 1.10 2008-11-04 12:31:22 phintuka Exp $
+ * $Id: logdefs.h,v 1.11 2008-11-13 22:15:29 phintuka Exp $
*
*/
@@ -25,6 +25,11 @@
#include <syslog.h> /* logging levels: LOG_ERR, LOG_INFO, LOG_DEBUG */
+#define SYSLOGLEVEL_NONE 0
+#define SYSLOGLEVEL_ERRORS 1
+#define SYSLOGLEVEL_INFO 2
+#define SYSLOGLEVEL_DEBUG 3
+#define SYSLOGLEVEL_VERBOSE 4
#if defined(esyslog) || (defined(VDRVERSNUM) && VDRVERSNUM >= 10343)
# define x_syslog(l,m,x...) syslog_with_tid(l, m x)