mirror of
https://github.com/FairRootGroup/FairLogger.git
synced 2025-10-13 00:31:12 +00:00
Move Logging() to header
This commit is contained in:
parent
e53e8aeec3
commit
bcf0c8726a
|
@ -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)
|
bool Logger::Logging(const string& severityStr)
|
||||||
{
|
{
|
||||||
if (fSeverityMap.count(severityStr)) {
|
if (fSeverityMap.count(severityStr)) {
|
||||||
|
|
|
@ -255,7 +255,12 @@ class Logger
|
||||||
static void CycleVerbosityUp();
|
static void CycleVerbosityUp();
|
||||||
static void CycleVerbosityDown();
|
static void CycleVerbosityDown();
|
||||||
|
|
||||||
static bool Logging(const Severity severity);
|
static bool Logging(const Severity severity)
|
||||||
|
{
|
||||||
|
return (severity >= fMinSeverity &&
|
||||||
|
fMinSeverity > Severity::nolog) ||
|
||||||
|
severity == Severity::fatal;
|
||||||
|
}
|
||||||
static bool Logging(const std::string& severityStr);
|
static bool Logging(const std::string& severityStr);
|
||||||
|
|
||||||
static void SetVerbosity(const Verbosity verbosity);
|
static void SetVerbosity(const Verbosity verbosity);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user