utility: Disabled ConfigManager warnings

This commit is contained in:
Eberhard Graether
2016-03-10 10:26:58 +01:00
parent 5d845961ac
commit 66e8be4b4d
+3 -2
View File
@@ -41,7 +41,7 @@ bool ConfigManager::getValue(const std::string& key, std::string& value) const
{
if (m_warnOnEmptyKey)
{
LOG_WARNING("value " + key + " is not present in config.");
// LOG_WARNING("value " + key + " is not present in config.");
}
return false;
}
@@ -99,7 +99,7 @@ bool ConfigManager::getValues(const std::string& key, std::vector<std::string>&
{
if (m_warnOnEmptyKey)
{
LOG_WARNING("value " + key + " is not present in config.");
// LOG_WARNING("value " + key + " is not present in config.");
}
return false;
}
@@ -267,6 +267,7 @@ void ConfigManager::setWarnOnEmptyKey(bool warnOnEmptyKey) const
}
ConfigManager::ConfigManager()
: m_warnOnEmptyKey(true)
{
}