A RLogHandler that multiplexes diagnostics to different client RLogHandler
s.
RLogHandler::Get()
returns the process's (static) log manager.
Definition at line 64 of file RLogger.hxx.
#include <ROOT/RLogger.hxx>
◆ RLogManager()
ROOT::Experimental::RLogManager::RLogManager |
( |
std::unique_ptr< RLogHandler > && |
lh | ) |
|
|
inlineprivate |
Initialize taking a RLogHandlerDefault.
Definition at line 72 of file RLogger.hxx.
◆ Emit()
bool ROOT::Experimental::RLogManager::Emit |
( |
const RLogEntry & |
entry | ) |
|
|
inlineoverridevirtual |
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::Experimental::RLogHandler.
Definition at line 85 of file RLogger.hxx.
◆ Get()
◆ GetNumErrors()
long long ROOT::Experimental::RLogManager::GetNumErrors |
( |
| ) |
const |
|
inline |
Returns the current number of errors seen by this log manager.
Definition at line 97 of file RLogger.hxx.
◆ GetNumWarnings()
long long ROOT::Experimental::RLogManager::GetNumWarnings |
( |
| ) |
const |
|
inline |
Returns the current number of warnings seen by this log manager.
Definition at line 94 of file RLogger.hxx.
◆ PushBack()
void ROOT::Experimental::RLogManager::PushBack |
( |
std::unique_ptr< RLogHandler > |
handler | ) |
|
|
inline |
◆ PushFront()
void ROOT::Experimental::RLogManager::PushFront |
( |
std::unique_ptr< RLogHandler > |
handler | ) |
|
|
inline |
◆ fHandlers
std::vector<std::unique_ptr<RLogHandler> > ROOT::Experimental::RLogManager::fHandlers |
|
private |
◆ fNumErrors
long long ROOT::Experimental::RLogManager::fNumErrors {0} |
|
private |
◆ fNumWarnings
long long ROOT::Experimental::RLogManager::fNumWarnings {0} |
|
private |
The documentation for this class was generated from the following files: