Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::RLogHandler Class Referenceabstract

Abstract RLogHandler base class.

ROOT logs everything from info to error to entities of this class.

Definition at line 82 of file RLogger.hxx.

Public Member Functions

virtual ~RLogHandler ()
 
virtual bool Emit (const RLogEntry &entry)=0
 Emit a log entry.
 

#include <ROOT/RLogger.hxx>

Inheritance diagram for ROOT::RLogHandler:
[legend]

Constructor & Destructor Documentation

◆ ~RLogHandler()

ROOT::RLogHandler::~RLogHandler ( )
virtual

Definition at line 26 of file RLogger.cxx.

Member Function Documentation

◆ Emit()

virtual bool ROOT::RLogHandler::Emit ( const RLogEntry & entry)
pure virtual

Emit a log entry.

Parameters
entry- the RLogEntry to be emitted.
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.)

Implemented in ROOT::RLogManager, and ROOT::Experimental::REveManager::Logger::Handler.


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