Shared/Logs: Add support to .server set loglevel command after 003d67708b9a279da3d37e5ef06eb32ceab53964

Update the lowest log level when using ".server set loglevel" command.

(cherry picked from commit 43f74fd8cfbab8f8fecf128e5d8d5d44ae767988)
This commit is contained in:
jackpoz
2015-03-18 00:10:19 +00:00
committed by Nayd
parent 064b6a4c84
commit 22d655451c
+3
View File
@@ -324,6 +324,9 @@ bool Log::SetLogLevel(std::string const& name, const char* newLevelc, bool isLog
return false;
it->second.setLogLevel(newLevel);
if (newLevel != LOG_LEVEL_DISABLED && newLevel < lowestLogLevel)
lowestLogLevel = newLevel;
}
else
{