| 83 | } |
| 84 | |
| 85 | void LogSinkOgre::write(LogMessageLevel level, const std::string& module, const std::string& timestamp, const std::string& filename, int line, const std::string& message) |
| 86 | { |
| 87 | #if !OGRE_THREAD_PROVIDER |
| 88 | std::lock_guard<std::mutex> lock(mLogLockMutex); |
| 89 | #endif |
| 90 | mGameLog->logMessage(Ogre::String(message.c_str()), toOgreLml(level)); |
| 91 | } |
no test coverage detected