summaryrefslogtreecommitdiff
path: root/src/resources/db/badgesdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-03 22:43:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-04 00:57:58 +0300
commitde73e67e830c15e6b623ba03eda88f9faacac40c (patch)
tree79422e9c944b751cd0c0b8ad6fd37e32ddaaa130 /src/resources/db/badgesdb.cpp
parent653f89fa3b236103670796af4b76a23e8ae84248 (diff)
downloadplus-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.gz
plus-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.bz2
plus-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.xz
plus-de73e67e830c15e6b623ba03eda88f9faacac40c.zip
Add missing load / unload databases logging.
Diffstat (limited to 'src/resources/db/badgesdb.cpp')
-rw-r--r--src/resources/db/badgesdb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/db/badgesdb.cpp b/src/resources/db/badgesdb.cpp
index 873149f41..1d41ba1e5 100644
--- a/src/resources/db/badgesdb.cpp
+++ b/src/resources/db/badgesdb.cpp
@@ -21,6 +21,7 @@
#include "resources/db/badgesdb.h"
#include "configuration.h"
+#include "logger.h"
#include "fs/virtfs/tools.h"
@@ -73,6 +74,7 @@ void BadgesDB::load()
if (mLoaded)
unload();
+ logger->log1("Initializing Badges database...");
loadDB("guild", mGuilds);
loadDB("name", mNames);
loadDB("party", mParties);
@@ -80,6 +82,7 @@ void BadgesDB::load()
void BadgesDB::unload()
{
+ logger->log1("Unloading Badges database...");
mParties.clear();
mGuilds.clear();
mNames.clear();