commit | 6b34ab9cec9ac314ba5cc64bfe85eac4f873d35f | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Feb 11 21:22:46 2015 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sat Feb 14 12:26:32 2015 -0800 |
tree | a97d3bd218f8c94a71315d729adcb81e5a64c569 | |
parent | 5d57f97fa77bd62f6e2d8e33a6cf83654144719a [diff] [blame] |
core: Make logger thread-safe Change-Id: Ic45dc0912da9c2e3f074d3f74921bfe33741bf63 Refs: #2489
diff --git a/core/logger-factory.hpp b/core/logger-factory.hpp index 9f4a9f3..606ac1c 100644 --- a/core/logger-factory.hpp +++ b/core/logger-factory.hpp
@@ -101,6 +101,7 @@ typedef std::pair<std::string, Logger> NameAndLogger; LoggerMap m_loggers; + mutable std::mutex m_loggersGuard; LogLevel m_defaultLevel; };