MCPcopy Create free account
hub / github.com/OpenMW/openmw / write

Method write

components/debug/debugging.cpp:302–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300 }
301
302 void write(const char* str, std::streamsize size, Level debugLevel)
303 {
304 while (mBuffer.size() >= mCapacity)
305 mBuffer.pop_front();
306 mBuffer.push_back(Record{ std::string(str, size), debugLevel });
307 }
308
309 private:
310 std::size_t mCapacity;

Callers 5

writeMethod · 0.45
writeMethod · 0.45
writeImplMethod · 0.45
setupLoggingFunction · 0.45
writeToFileFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected