Renamed debug logging param

This commit is contained in:
Nav
2023-09-23 21:48:55 +01:00
parent 7d588b6077
commit 0851da3a7a
3 changed files with 8 additions and 3 deletions

View File

@@ -71,8 +71,13 @@ ProjectConfig::ProjectConfig(const YAML::Node& configNode) {
this->insightConfig = InsightConfig(configNode["insight"]);
}
// Old param name, will remove later
if (configNode["debugLoggingEnabled"]) {
this->debugLoggingEnabled = configNode["debugLoggingEnabled"].as<bool>(this->debugLoggingEnabled);
this->debugLogging = configNode["debugLoggingEnabled"].as<bool>(this->debugLogging);
}
if (configNode["debugLogging"]) {
this->debugLogging = configNode["debugLogging"].as<bool>(this->debugLogging);
}
}