summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-16 15:49:42 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-16 15:49:42 +0000
commit88a0ecb3917a38ef5edf95f302b9aed1b71ef36d (patch)
treef1b46011a80d594349c2fbc5ef1d3563cdaa74c8 /src/log.h
parentsmall cleanup (diff)
added Log to stdout
added dummy stdio tun device some cleanups (windows)
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/log.h b/src/log.h
index e1f9163..29f3cb8 100644
--- a/src/log.h
+++ b/src/log.h
@@ -136,14 +136,16 @@ public:
static const int FAC_LOCAL6 = 0;
static const int FAC_LOCAL7 = 0;
- static const int PRIO_EMERG = 0;
- static const int PRIO_ALERT = 0;
- static const int PRIO_CRIT = 0;
- static const int PRIO_ERR = 0;
- static const int PRIO_WARNING = 0;
- static const int PRIO_NOTICE = 0;
- static const int PRIO_INFO = 0;
- static const int PRIO_DEBUG = 0;
+ static const int PRIO_EMERG = 1;
+ static const int PRIO_ALERT = 2;
+ static const int PRIO_CRIT = 3;
+ static const int PRIO_ERR = 4;
+ static const int PRIO_WARNING = 5;
+ static const int PRIO_NOTICE = 6;
+ static const int PRIO_INFO = 7;
+ static const int PRIO_DEBUG = 8;
+
+ static std::string prioToString(int prio);
#endif
static Log& instance();