| 608 | } |
| 609 | |
| 610 | void 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 | |
| 619 | void ScriptExtender::OnSDLEvent(SDL_Event* event) |
| 620 | { |
no test coverage detected