MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / Log

Function Log

framework/logger.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41static LogFunction logFunction = defaultLogFunction;
42
43void Log(LogLevel level, UString prefix, const UString &text)
44{
45 std::lock_guard<std::mutex> lock(loggerMutex);
46 logFunction(level, prefix, text);
47}
48
49void _logAssert(UString prefix, UString string, int line, UString file)
50{

Callers 2

handleLuaErrorFunction · 0.85
_logAssertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected