Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | List of all members
ROOT::Experimental::TLogHandler Class Referenceabstract

Abstract TLogHandler base class.

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

Definition at line 45 of file TLogger.hxx.

Public Member Functions

virtual ~TLogHandler ()
 
virtual bool Emit (const TLogEntry &entry)=0
 Emit a log entry. More...
 

#include <ROOT/TLogger.hxx>

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

Constructor & Destructor Documentation

◆ ~TLogHandler()

ROOT::Experimental::TLogHandler::~TLogHandler ( )
virtual

Definition at line 23 of file TLogger.cxx.

Member Function Documentation

◆ Emit()

virtual bool ROOT::Experimental::TLogHandler::Emit ( const TLogEntry entry)
pure virtual

Emit a log entry.

Parameters
entry- the TLogEntry 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::Experimental::TLogManager.


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