A log configuration for a channel, e.g.
"RHist". Each ROOT module has its own log, with potentially distinct verbosity.
Definition at line 97 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 |
| 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. | |
| ELogLevel | GetVerbosity () const |
| void | Increment (ELogLevel severity) |
| Increase warning or error count. | |
| ELogLevel | SetVerbosity (ELogLevel verbosity) |
Protected Attributes | |
| std::atomic< long long > | fNumErrors {0ll} |
| Number of warnings. | |
| std::atomic< long long > | fNumFatalErrors {0ll} |
| Number of errors. | |
| std::atomic< long long > | fNumWarnings {0ll} |
Private Attributes | |
| std::string | fName |
| Name as shown in diagnostics. | |
| ELogLevel | fVerbosity = ELogLevel::kUnset |
| Verbosity of this channel. By default, use the global verbosity. | |
#include <ROOT/RLogger.hxx>
|
default |
Construct an anonymous channel.
|
inlineexplicit |
Construct an anonymous channel with a default verbosity.
Definition at line 109 of file RLogger.hxx.
|
inline |
Construct a log channel given its name, which is part of the diagnostics.
Definition at line 112 of file RLogger.hxx.
|
inline |
Definition at line 309 of file RLogger.hxx.
|
inline |
Definition at line 122 of file RLogger.hxx.
|
inlineinherited |
Returns the current number of errors.
Definition at line 60 of file RLogger.hxx.
|
inlineinherited |
Returns the current number of fatal errors.
Definition at line 63 of file RLogger.hxx.
|
inlineinherited |
Number of fatal errors.
Returns the current number of warnings.
Definition at line 57 of file RLogger.hxx.
|
inline |
Definition at line 119 of file RLogger.hxx.
|
inlineinherited |
Increase warning or error count.
Definition at line 66 of file RLogger.hxx.
Definition at line 114 of file RLogger.hxx.
|
private |
Name as shown in diagnostics.
Definition at line 99 of file RLogger.hxx.
|
protectedinherited |
Number of warnings.
Definition at line 52 of file RLogger.hxx.
|
protectedinherited |
Number of errors.
Definition at line 53 of file RLogger.hxx.
|
protectedinherited |
Definition at line 51 of file RLogger.hxx.
|
private |
Verbosity of this channel. By default, use the global verbosity.
Definition at line 102 of file RLogger.hxx.