From 88a0ecb3917a38ef5edf95f302b9aed1b71ef36d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 16 Jan 2009 15:49:42 +0000 Subject: added Log to stdout added dummy stdio tun device some cleanups (windows) --- src/log.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/log.h') 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(); -- cgit v1.2.3