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

Method GetLog

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

Source from the content-addressed store, hash-verified

105}
106
107char* ScriptTest::GetLog()
108{
109 FinalizeLogs(); // Waits for the log thread to close
110
111 m_Log.SetCapacity(m_Log.Size() + 1);
112 m_Log.Push('\0');
113 return m_Log.Begin();
114}
115
116void ScriptTest::AppendToLog(const char* log)
117{

Callers

nothing calls this directly

Calls 4

SetCapacityMethod · 0.45
SizeMethod · 0.45
PushMethod · 0.45
BeginMethod · 0.45

Tested by

no test coverage detected