Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Experimental::TLogManager Class Reference

Definition at line 53 of file TLogger.hxx.

Public Member Functions

bool Emit (const TLogEntry &entry) override
 
void PushBack (std::unique_ptr< TLogHandler > handler)
 Add a TLogHandler in the back - to be called after all others. More...
 
void PushFront (std::unique_ptr< TLogHandler > handler)
 Add a TLogHandler in the front - to be called before all others. More...
 
- Public Member Functions inherited from ROOT::Experimental::TLogHandler
virtual ~TLogHandler ()
 

Static Public Member Functions

static TLogManagerGet ()
 

Private Member Functions

 TLogManager (std::unique_ptr< TLogHandler > &&lh)
 Initialize taking a TLogHandlerDefault. More...
 

Private Attributes

std::vector< std::unique_ptr< TLogHandler > > fHandlers
 

#include <ROOT/TLogger.hxx>

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

Constructor & Destructor Documentation

◆ TLogManager()

ROOT::Experimental::TLogManager::TLogManager ( std::unique_ptr< TLogHandler > &&  lh)
inlineprivate

Initialize taking a TLogHandlerDefault.

Definition at line 58 of file TLogger.hxx.

Member Function Documentation

◆ Emit()

bool ROOT::Experimental::TLogManager::Emit ( const TLogEntry entry)
inlineoverridevirtual

Implements ROOT::Experimental::TLogHandler.

Definition at line 77 of file TLogger.hxx.

◆ Get()

ROOT::Experimental::TLogManager & ROOT::Experimental::TLogManager::Get ( )
static

Definition at line 50 of file TLogger.cxx.

◆ PushBack()

void ROOT::Experimental::TLogManager::PushBack ( std::unique_ptr< TLogHandler handler)
inline

Add a TLogHandler in the back - to be called after all others.

Definition at line 71 of file TLogger.hxx.

◆ PushFront()

void ROOT::Experimental::TLogManager::PushFront ( std::unique_ptr< TLogHandler handler)
inline

Add a TLogHandler in the front - to be called before all others.

Definition at line 66 of file TLogger.hxx.

Member Data Documentation

◆ fHandlers

std::vector<std::unique_ptr<TLogHandler> > ROOT::Experimental::TLogManager::fHandlers
private

Definition at line 55 of file TLogger.hxx.


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