summaryrefslogtreecommitdiffstats
path: root/src/Log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Log.h')
-rw-r--r--src/Log.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Log.h b/src/Log.h
index d28f6c0..5c8c4b3 100644
--- a/src/Log.h
+++ b/src/Log.h
@@ -38,12 +38,16 @@
#include <list>
#include <stdexcept>
#include <string>
+#include <map>
#define SYSLOG_IDENT "CRC-DABMUX"
#define SYSLOG_FACILITY LOG_LOCAL0
enum log_level_t {debug = 0, info, warn, error, alert, emerg};
+const std::string levels_as_str[] =
+ { " ", " ", "WARN ", "ERROR", "ALERT", "EMERG"} ;
+
/** Abstract class all backends must inherit from */
class LogBackend {
public: