diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-31 22:01:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-31 22:01:50 +0300 |
commit | 63de3d28f5df5aadddcd4a926cc79ebae27ddd2b (patch) | |
tree | ec3f0697eeaadca622c5724e64d17e91efed5e6a /src/configuration.cpp | |
parent | 0d7550d8f81fa4a4323878e5f0aa67b4a10b82cf (diff) | |
download | manaverse-63de3d28f5df5aadddcd4a926cc79ebae27ddd2b.tar.gz manaverse-63de3d28f5df5aadddcd4a926cc79ebae27ddd2b.tar.bz2 manaverse-63de3d28f5df5aadddcd4a926cc79ebae27ddd2b.tar.xz manaverse-63de3d28f5df5aadddcd4a926cc79ebae27ddd2b.zip |
Replace log asserts to report asserts in configuration.cpp
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp index 26c219255..94fa433f5 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -440,7 +440,7 @@ int Configuration::getIntValue(const std::string &key) const } else { - logger->assertLog( + reportAlways( "%s: No integer value in registry for key %s", mConfigPath.c_str(), key.c_str()); @@ -467,7 +467,7 @@ int Configuration::resetIntValue(const std::string &key) } else { - logger->assertLog("%s: No integer value in registry for key %s", + reportAlways("%s: No integer value in registry for key %s", mConfigPath.c_str(), key.c_str()); } @@ -516,7 +516,7 @@ std::string Configuration::getStringValue(const std::string &key) const } else { - logger->assertLog("%s: No string value in registry for key %s", + reportAlways("%s: No string value in registry for key %s", mConfigPath.c_str(), key.c_str()); } @@ -572,7 +572,7 @@ float Configuration::getFloatValue(const std::string &key) const } else { - logger->assertLog("%s: No float value in registry for key %s", + reportAlways("%s: No float value in registry for key %s", mConfigPath.c_str(), key.c_str()); } @@ -639,7 +639,7 @@ bool Configuration::getBoolValue(const std::string &key) const } else { - logger->assertLog( + reportAlways( "%s: No boolean value in registry for key %s", mConfigPath.c_str(), key.c_str()); @@ -668,7 +668,7 @@ bool Configuration::resetBoolValue(const std::string &key) } else { - logger->assertLog("%s: No boolean value in registry for key %s", + reportAlways("%s: No boolean value in registry for key %s", mConfigPath.c_str(), key.c_str()); } |