A RLogHandler that multiplexes diagnostics to different client RLogHandlers and keeps track of the sum of RLogDiagCounts for all channels.
RLogHandler::Get() returns the process's (static) log manager.
Definition at line 132 of file RLogger.hxx.
#include <ROOT/RLogger.hxx>
◆ RLogManager()
| ROOT::RLogManager::RLogManager |
( |
std::unique_ptr< RLogHandler > | lh | ) |
|
|
inline |
◆ Emit()
Emit a log entry.
- Parameters
-
- Returns
- false if further emission of this Log should be suppressed.
- Note
- This function is called concurrently; log emission must be locked if needed. (The default log handler using ROOT's DefaultErrorHandler is locked.)
Implements ROOT::RLogHandler.
Definition at line 79 of file RLogger.cxx.
◆ Get()
◆ GetEffectiveVerbosity()
◆ GetName()
| const std::string & ROOT::RLogChannel::GetName |
( |
| ) |
const |
|
inlineinherited |
◆ GetNumErrors()
| long long ROOT::RLogDiagCount::GetNumErrors |
( |
| ) |
const |
|
inlineinherited |
Returns the current number of errors.
Definition at line 60 of file RLogger.hxx.
◆ GetNumFatalErrors()
| long long ROOT::RLogDiagCount::GetNumFatalErrors |
( |
| ) |
const |
|
inlineinherited |
Returns the current number of fatal errors.
Definition at line 63 of file RLogger.hxx.
◆ GetNumWarnings()
| long long ROOT::RLogDiagCount::GetNumWarnings |
( |
| ) |
const |
|
inlineinherited |
Number of fatal errors.
Returns the current number of warnings.
Definition at line 57 of file RLogger.hxx.
◆ GetVerbosity()
| ELogLevel ROOT::RLogChannel::GetVerbosity |
( |
| ) |
const |
|
inlineinherited |
◆ Increment()
| void ROOT::RLogDiagCount::Increment |
( |
ELogLevel | severity | ) |
|
|
inlineinherited |
Increase warning or error count.
Definition at line 66 of file RLogger.hxx.
◆ PushBack()
| void ROOT::RLogManager::PushBack |
( |
std::unique_ptr< RLogHandler > | handler | ) |
|
|
inline |
◆ PushFront()
| void ROOT::RLogManager::PushFront |
( |
std::unique_ptr< RLogHandler > | handler | ) |
|
|
inline |
◆ Remove()
Remove and return the given log handler. Returns nullptr if not found.
Definition at line 65 of file RLogger.cxx.
◆ SetVerbosity()
◆ fHandlers
| std::list<std::unique_ptr<RLogHandler> > ROOT::RLogManager::fHandlers |
|
private |
◆ fMutex
| std::mutex ROOT::RLogManager::fMutex |
|
private |
◆ fName
| std::string ROOT::RLogChannel::fName |
|
privateinherited |
Name as shown in diagnostics.
Definition at line 99 of file RLogger.hxx.
◆ fNumErrors
| std::atomic<long long> ROOT::RLogDiagCount::fNumErrors {0ll} |
|
protectedinherited |
◆ fNumFatalErrors
| std::atomic<long long> ROOT::RLogDiagCount::fNumFatalErrors {0ll} |
|
protectedinherited |
◆ fNumWarnings
| std::atomic<long long> ROOT::RLogDiagCount::fNumWarnings {0ll} |
|
protectedinherited |
◆ fVerbosity
Verbosity of this channel. By default, use the global verbosity.
Definition at line 102 of file RLogger.hxx.
The documentation for this class was generated from the following files: