Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RLogDiagCount Class Reference

Keep track of emitted errors and warnings.

Definition at line 53 of file RLogger.hxx.

Public Member Functions

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.
 

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}
 

#include <ROOT/RLogger.hxx>

Inheritance diagram for ROOT::Experimental::RLogDiagCount:
[legend]

Member Function Documentation

◆ GetNumErrors()

long long ROOT::Experimental::RLogDiagCount::GetNumErrors ( ) const
inline

Returns the current number of errors.

Definition at line 64 of file RLogger.hxx.

◆ GetNumFatalErrors()

long long ROOT::Experimental::RLogDiagCount::GetNumFatalErrors ( ) const
inline

Returns the current number of fatal errors.

Definition at line 67 of file RLogger.hxx.

◆ GetNumWarnings()

long long ROOT::Experimental::RLogDiagCount::GetNumWarnings ( ) const
inline

Number of fatal errors.

Returns the current number of warnings.

Definition at line 61 of file RLogger.hxx.

◆ Increment()

void ROOT::Experimental::RLogDiagCount::Increment ( ELogLevel  severity)
inline

Increase warning or error count.

Definition at line 70 of file RLogger.hxx.

Member Data Documentation

◆ fNumErrors

std::atomic<long long> ROOT::Experimental::RLogDiagCount::fNumErrors {0ll}
protected

Number of warnings.

Definition at line 56 of file RLogger.hxx.

◆ fNumFatalErrors

std::atomic<long long> ROOT::Experimental::RLogDiagCount::fNumFatalErrors {0ll}
protected

Number of errors.

Definition at line 57 of file RLogger.hxx.

◆ fNumWarnings

std::atomic<long long> ROOT::Experimental::RLogDiagCount::fNumWarnings {0ll}
protected

Definition at line 55 of file RLogger.hxx.

Libraries for ROOT::Experimental::RLogDiagCount:

The documentation for this class was generated from the following file: