Tweaked debug messages of controller when changing debug level.

This commit is contained in:
Thulinma 2014-06-05 16:43:29 +02:00
parent 17d90f05a9
commit 4f217771f0

View file

@ -226,7 +226,7 @@ namespace Controller {
if (out.isMember("debug")){ if (out.isMember("debug")){
if (Util::Config::printDebugLevel != out["debug"].asInt()){ if (Util::Config::printDebugLevel != out["debug"].asInt()){
Util::Config::printDebugLevel = out["debug"].asInt(); Util::Config::printDebugLevel = out["debug"].asInt();
DEBUG_MSG(Util::Config::printDebugLevel, "Debug level set to %u", Util::Config::printDebugLevel); INFO_MSG("Debug level set to %u", Util::Config::printDebugLevel);
} }
} }
} }