MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / write

Method write

source/utils/LogSinkOgre.cpp:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void 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}

Callers 2

logMessageMethod · 0.45
writePacketMethod · 0.45

Calls 3

StringClass · 0.85
toOgreLmlFunction · 0.85
logMessageMethod · 0.80

Tested by

no test coverage detected