Fix logging to file

Fixes #21411
This commit is contained in:
Henrik Rydgård committed 2026-03-11 14:14:58 +01:00
1 parent 5c066ce8a7
commit b7f257152d
3 files changed
+19 -3

No files matched your search

+1
View File
@@ -650,6 +650,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
}
if (fileToLog) {
// Start logging immediately.
g_logManager.EnableOutput(LogOutput::File);
g_logManager.SetFileLogPath(Path(fileToLog));
} else {