diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-03 22:43:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-04 00:57:58 +0300 |
commit | de73e67e830c15e6b623ba03eda88f9faacac40c (patch) | |
tree | 79422e9c944b751cd0c0b8ad6fd37e32ddaaa130 /src/resources/db/languagedb.cpp | |
parent | 653f89fa3b236103670796af4b76a23e8ae84248 (diff) | |
download | ManaVerse-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.gz ManaVerse-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.bz2 ManaVerse-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.xz ManaVerse-de73e67e830c15e6b623ba03eda88f9faacac40c.zip |
Add missing load / unload databases logging.
Diffstat (limited to 'src/resources/db/languagedb.cpp')
-rw-r--r-- | src/resources/db/languagedb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/db/languagedb.cpp b/src/resources/db/languagedb.cpp index a5443824e..8d04e5c2e 100644 --- a/src/resources/db/languagedb.cpp +++ b/src/resources/db/languagedb.cpp @@ -39,6 +39,7 @@ namespace void LanguageDb::load() { unload(); + logger->log1("Initializing languages database..."); loadXmlFile(paths.getStringValue("languagesFile"), SkipError_false); loadXmlFile(paths.getStringValue("languagesPatchFile"), SkipError_true); loadXmlDir("languagesPatchDir", loadXmlFile); @@ -101,6 +102,7 @@ void LanguageDb::loadXmlFile(const std::string &fileName, void LanguageDb::unload() { + logger->log1("Unloading languages database..."); mIcons.clear(); mPo.clear(); } |