Object to count the number of warnings and errors emitted by a section of code, after construction of this type.
Definition at line 104 of file RLogger.hxx.
Public Member Functions | |
long long | GetAccumulatedErrors () const |
Get the number of errors that the RLogManager has emitted since construction of *this. More... | |
long long | GetAccumulatedWarnings () const |
Get the number of warnings that the RLogManager has emitted since construction of *this. More... | |
bool | HasErrorOccurred () const |
Whether the RLogManager has emitted an error since construction time of *this. More... | |
bool | HasErrorOrWarningOccurred () const |
Whether the RLogManager has emitted an error or a warning since construction time of *this. More... | |
bool | HasWarningOccurred () const |
Whether the RLogManager has emitted a warnings since construction time of *this. More... | |
Private Attributes | |
long long | fInitialErrors {RLogManager::Get().GetNumErrors()} |
The number of the RLogManager's emitted errors at construction time. More... | |
long long | fInitialWarnings {RLogManager::Get().GetNumWarnings()} |
The number of the RLogManager's emitted warnings at construction time of *this. More... | |
#include <ROOT/RLogger.hxx>
|
inline |
Get the number of errors that the RLogManager has emitted since construction of *this.
Definition at line 116 of file RLogger.hxx.
|
inline |
Get the number of warnings that the RLogManager has emitted since construction of *this.
Definition at line 113 of file RLogger.hxx.
|
inline |
Whether the RLogManager has emitted an error since construction time of *this.
Definition at line 122 of file RLogger.hxx.
|
inline |
Whether the RLogManager has emitted an error or a warning since construction time of *this.
Definition at line 125 of file RLogger.hxx.
|
inline |
Whether the RLogManager has emitted a warnings since construction time of *this.
Definition at line 119 of file RLogger.hxx.
|
private |
The number of the RLogManager's emitted errors at construction time.
Definition at line 109 of file RLogger.hxx.
|
private |
The number of the RLogManager's emitted warnings at construction time of *this.
Definition at line 107 of file RLogger.hxx.