Clean up some klogging annoyances.

This commit is contained in:
JoelKatz
2012-10-24 12:26:50 -07:00
parent 60fb930546
commit ab5afd223e
6 changed files with 14 additions and 13 deletions

View File

@@ -101,11 +101,12 @@ std::string Log::rotateLog(void)
}
void Log::setMinSeverity(LogSeverity s)
void Log::setMinSeverity(LogSeverity s, bool all)
{
boost::recursive_mutex::scoped_lock sl(sLock);
sMinSeverity = s;
LogPartition::setSeverity(s);
if (all)
LogPartition::setSeverity(s);
}
LogSeverity Log::getMinSeverity()