[Scummvm-git-logs] scummvm master -> f5ccb90ddfdb51eae0179204d35b642e73899534
aquadran
noreply at scummvm.org
Tue Nov 23 14:19:07 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
f5ccb90ddf COMMON: Put debug traces to defined level to avoid printing them always
Commit: f5ccb90ddfdb51eae0179204d35b642e73899534
https://github.com/scummvm/scummvm/commit/f5ccb90ddfdb51eae0179204d35b642e73899534
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2021-11-23T15:19:01+01:00
Commit Message:
COMMON: Put debug traces to defined level to avoid printing them always
Changed paths:
common/achievements.cpp
diff --git a/common/achievements.cpp b/common/achievements.cpp
index c1393a478d..f8a90239ef 100644
--- a/common/achievements.cpp
+++ b/common/achievements.cpp
@@ -62,7 +62,7 @@ bool AchievementsManager::setActiveDomain(const AchievementsInfo &info) {
unsetActiveDomain();
}
- debug("AchievementsManager::setActiveDomain(): '%s'", iniFileName.c_str());
+ debug(2, "AchievementsManager::setActiveDomain(): '%s'", iniFileName.c_str());
_iniFileName = iniFileName;
@@ -185,7 +185,7 @@ bool AchievementsManager::loadAchievementsData(const char *platform, const char
bool AchievementsManager::unsetActiveDomain() {
- debug("AchievementsManager::unsetActiveDomain()");
+ debug(2, "AchievementsManager::unsetActiveDomain()");
_iniFileName = "";
@@ -220,7 +220,7 @@ bool AchievementsManager::setAchievement(const String &id) {
}
}
- debug("AchievementsManager::setAchievement('%s'): '%s'", id.c_str(), displayedMessage.c_str());
+ debug(2, "AchievementsManager::setAchievement('%s'): '%s'", id.c_str(), displayedMessage.c_str());
_iniFile->setKey(id, "achievements", "true");
_iniFile->saveToSaveFile(_iniFileName);
More information about the Scummvm-git-logs
mailing list