In debug builds, also default new logs to ERROR

This commit is contained in:
Henrik Rydgård committed 2025-06-24 21:36:04 +02:00
1 parent 43e79aba55
commit 1b13af6f81
3 files changed
+4 -8

No files matched your search

+1 -5
View File
@@ -1217,11 +1217,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
Section *log = iniFile.GetOrCreateSection(logSectionName);
bool debugDefaults = false;
#ifdef _DEBUG
debugDefaults = true;
#endif
g_logManager.LoadConfig(log, debugDefaults);
g_logManager.LoadConfig(log);
Section *recent = iniFile.GetOrCreateSection("Recent");
recent->Get("MaxRecent", &iMaxRecent, 60);