diff options
author | Christian Pointner <equinox@anytun.org> | 2009-01-16 15:49:42 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-01-16 15:49:42 +0000 |
commit | 88a0ecb3917a38ef5edf95f302b9aed1b71ef36d (patch) | |
tree | f1b46011a80d594349c2fbc5ef1d3563cdaa74c8 /src/log.h | |
parent | small 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.h | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -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(); |