MCPcopy Create free account
hub / github.com/defold/defold / LogCallback

Function LogCallback

engine/script/src/test/test_script.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48static ScriptTest* s_LogListenerContext = 0;
49
50static void LogCallback(LogSeverity severity, const char* domain, const char* formatted_string)
51{
52 ScriptTest* i = (ScriptTest*)s_LogListenerContext;
53 i->AppendToLog(formatted_string);
54}
55
56void ScriptTest::SetUp()
57{

Callers

nothing calls this directly

Calls 1

AppendToLogMethod · 0.45

Tested by

no test coverage detected