Commit b369f4305cdff3e44f1967a0bbe07dda51af76a8
1 parent
c60cc4ce
removed obsolete mutex
Showing
2 changed files
with
0 additions
and
7 deletions
src/log.cpp
... | ... | @@ -63,8 +63,6 @@ std::string Log::s_fileName = std::string(); |
63 | 63 | LogLevel Log::s_logLevel = LogLevel::Error; |
64 | 64 | LogMask Log::s_logMask = LogMask::None; |
65 | 65 | |
66 | -std::mutex Log::m_mutex = std::mutex(); | |
67 | - | |
68 | 66 | void Log::init( const std::string& context, const std::string& logFile, LogLevel logDepth ) |
69 | 67 | { |
70 | 68 | s_logLevel = logDepth; |
... | ... | @@ -129,8 +127,6 @@ std::string Log::fileinfoMessage( const char* file, int line, const std::string& |
129 | 127 | |
130 | 128 | void Log::log( const std::string &category, const std::string &message, LogLevel level ) |
131 | 129 | { |
132 | - std::lock_guard<std::mutex> lock(m_mutex); | |
133 | - | |
134 | 130 | std::string logCategory = category; |
135 | 131 | std::string logMessage = message; |
136 | 132 | if( logMessage.empty() ) | ... | ... |