Allow event logging to be disabled

This commit is contained in:
Loporrit
2025-02-09 05:21:51 +00:00
parent e8ae2a6152
commit 6f88ed1ea5
4 changed files with 17 additions and 9 deletions

View File

@@ -661,6 +661,13 @@ public class SettingsUi : WindowMediatorSubscriberBase
{
_performanceCollector.PrintPerformanceStats(60);
}
bool logEvents = _configService.Current.LogEvents;
if (ImGui.Checkbox("Log Event Viewer Data", ref logEvents))
{
_configService.Current.LogEvents = logEvents;
_configService.Save();
}
}
private void DrawFileStorageSettings()