Move Logging() to header

This commit is contained in:
Alexey Rybalchenko
2020-07-06 12:29:29 +02:00
parent 5f7197d987
commit f0cbe0bd47
2 changed files with 6 additions and 8 deletions

View File

@@ -440,13 +440,6 @@ void Logger::UpdateMinSeverity()
}
}
bool Logger::Logging(Severity severity)
{
return (severity >= fMinSeverity &&
fMinSeverity > Severity::nolog) ||
severity == Severity::fatal;
}
bool Logger::Logging(const string& severityStr)
{
if (fSeverityMap.count(severityStr)) {