A log configuration for a channel, e.g.
"RHist". Each ROOT module has its own log, with potentially distinct verbosity.
Definition at line 101 of file RLogger.hxx.
Public Member Functions | |
RLogChannel ()=default | |
Construct an anonymous channel. | |
RLogChannel (const std::string &name) | |
Construct a log channel given its name, which is part of the diagnostics. | |
RLogChannel (ELogLevel verbosity) | |
Construct an anonymous channel with a default verbosity. | |
ELogLevel | GetEffectiveVerbosity (const RLogManager &mgr) const |
const std::string & | GetName () const |
ELogLevel | GetVerbosity () const |
ELogLevel | SetVerbosity (ELogLevel verbosity) |
Public Member Functions inherited from ROOT::Experimental::RLogDiagCount | |
long long | GetNumErrors () const |
Returns the current number of errors. | |
long long | GetNumFatalErrors () const |
Returns the current number of fatal errors. | |
long long | GetNumWarnings () const |
Number of fatal errors. | |
void | Increment (ELogLevel severity) |
Increase warning or error count. | |
Private Attributes | |
std::string | fName |
Name as shown in diagnostics. | |
ELogLevel | fVerbosity = ELogLevel::kUnset |
Verbosity of this channel. By default, use the global verbosity. | |
Additional Inherited Members | |
Protected Attributes inherited from ROOT::Experimental::RLogDiagCount | |
std::atomic< long long > | fNumErrors {0ll} |
Number of warnings. | |
std::atomic< long long > | fNumFatalErrors {0ll} |
Number of errors. | |
std::atomic< long long > | fNumWarnings {0ll} |
#include <ROOT/RLogger.hxx>
|
default |
Construct an anonymous channel.
|
inlineexplicit |
Construct an anonymous channel with a default verbosity.
Definition at line 113 of file RLogger.hxx.
|
inline |
Construct a log channel given its name, which is part of the diagnostics.
Definition at line 116 of file RLogger.hxx.
|
inline |
Definition at line 313 of file RLogger.hxx.
|
inline |
Definition at line 126 of file RLogger.hxx.
|
inline |
Definition at line 123 of file RLogger.hxx.
Definition at line 118 of file RLogger.hxx.
|
private |
Name as shown in diagnostics.
Definition at line 103 of file RLogger.hxx.
|
private |
Verbosity of this channel. By default, use the global verbosity.
Definition at line 106 of file RLogger.hxx.