summaryrefslogtreecommitdiffstats
path: root/src/Log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Log.h')
-rw-r--r--src/Log.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Log.h b/src/Log.h
index 7be6df8..81490b2 100644
--- a/src/Log.h
+++ b/src/Log.h
@@ -39,6 +39,7 @@
#include <stdexcept>
#include <string>
#include <map>
+#include <mutex>
#define SYSLOG_IDENT "ODR-DabMux"
#define SYSLOG_FACILITY LOG_LOCAL0
@@ -146,6 +147,8 @@ class Logger {
private:
std::list<LogBackend*> backends;
+
+ std::mutex m_cerr_mutex;
};
extern Logger etiLog;