utility: Disabled ConfigManager warnings
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user