MCPcopy Create free account
hub / github.com/Norbyte/bg3se / InitRuntimeLogging

Method InitRuntimeLogging

BG3Extender/Extender/ScriptExtender.cpp:610–617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610void ScriptExtender::InitRuntimeLogging()
611{
612 if (!config_.LogRuntime) return;
613
614 auto path = MakeLogFilePath(L"Extender Runtime", L"log");
615 gCoreLibPlatformInterface.GlobalConsole->OpenLogFile(path);
616 DEBUG("Extender runtime log written to '%s'", ToStdUTF8(path).c_str());
617}
618
619void ScriptExtender::OnSDLEvent(SDL_Event* event)
620{

Callers 1

OnGameStateChangedMethod · 0.45

Calls 2

ToStdUTF8Function · 0.85
OpenLogFileMethod · 0.80

Tested by

no test coverage detected