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

Definition at line 55 of file TLogger.h.

Public Member Functions

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

+ Inheritance diagram for ROOT::TLogManager:
+ Collaboration diagram for ROOT::TLogManager:

Constructor & Destructor Documentation

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

Initialize taking a TLogHandlerDefault.

Definition at line 60 of file TLogger.h.

Member Function Documentation

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

Implements ROOT::TLogHandler.

Definition at line 79 of file TLogger.h.

Referenced by ROOT::TLogEntry::~TLogEntry().

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

Definition at line 50 of file TLogger.cxx.

Referenced by ROOT::TLogEntry::~TLogEntry().

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

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

Definition at line 73 of file TLogger.h.

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

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

Definition at line 68 of file TLogger.h.

Member Data Documentation

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

Definition at line 57 of file TLogger.h.


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