diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-11 20:07:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-11 20:07:11 +0300 |
commit | 9169e70d93c79acce5ea726a8ac89d596243474e (patch) | |
tree | cde3a031a5260112214e7bcf61a583068604f33f /src/utils/virtfs.cpp | |
parent | 82260a54abbe8a6368d3a5f5da5291e0c4f2eb08 (diff) | |
download | manaverse-9169e70d93c79acce5ea726a8ac89d596243474e.tar.gz manaverse-9169e70d93c79acce5ea726a8ac89d596243474e.tar.bz2 manaverse-9169e70d93c79acce5ea726a8ac89d596243474e.tar.xz manaverse-9169e70d93c79acce5ea726a8ac89d596243474e.zip |
Add logging about adding/removing virtual fs entries.
Diffstat (limited to 'src/utils/virtfs.cpp')
-rw-r--r-- | src/utils/virtfs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/virtfs.cpp b/src/utils/virtfs.cpp index 7f4c7ab3b..e45ef22eb 100644 --- a/src/utils/virtfs.cpp +++ b/src/utils/virtfs.cpp @@ -140,6 +140,7 @@ namespace VirtFs bool addDirToSearchPath(const std::string &newDir, const Append append) { + logger->log("Add virtual directory: " + newDir); if (newDir.find(".zip") != std::string::npos) { reportAlways("Called addDirToSearchPath with zip archive"); @@ -151,6 +152,7 @@ namespace VirtFs bool removeDirFromSearchPath(const std::string &oldDir) { + logger->log("Remove virtual directory: " + oldDir); if (oldDir.find(".zip") != std::string::npos) { reportAlways("Called removeDirFromSearchPath with zip archive"); @@ -162,6 +164,7 @@ namespace VirtFs bool addZipToSearchPath(const std::string &newDir, const Append append) { + logger->log("Add virtual zip: " + newDir); if (newDir.find(".zip") == std::string::npos) { reportAlways("Called addZipToSearchPath without zip archive"); @@ -173,6 +176,7 @@ namespace VirtFs bool removeZipFromSearchPath(const std::string &oldDir) { + logger->log("Remove virtual zip: " + oldDir); if (oldDir.find(".zip") == std::string::npos) { reportAlways("Called removeZipFromSearchPath without zip archive"); |