common::Logger Class Reference
[Logger Module]

Logger - klasa główna systemu logującego. More...

#include <Logger.hpp>

List of all members.

Public Member Functions

Konfiguracja

Te metody nie są bezpieczne wątkowo.



void AddLogMapping (uint4 Mask, ILog *Log)
 Rejestruje log w loggerze mapując do niego określone typy komunikatów.
void AddTypePrefixMapping (uint4 Mask, const tstring &Prefix)
 Ustawia mapowanie prefiksów typu dla wszystkich zarejestrowanych logów.
void SetPrefixFormat (const tstring &PrefixFormat)
 Ustawia format prefiksu dla wszystkich zarejestrowanych logów.
Używanie loggera.

Te metody są bezpieczne wątkowo.



void SetCustomPrefixInfo (int Index, const tstring &Info)
 Ustawia własną informację prefiksu. Indeks: 0..2.
void Log (uint4 Type, const tstring &Message)

Friends

class ILog
void CreateLogger (bool)
 Tworzy logger.
void DestroyLogger ()
 Usuwa logger.

Detailed Description

Logger - klasa główna systemu logującego.


Member Function Documentation

void common::Logger::AddLogMapping ( uint4  Mask,
ILog *  Log 
)

Rejestruje log w loggerze mapując do niego określone typy komunikatów.

void common::Logger::AddTypePrefixMapping ( uint4  Mask,
const tstring &  Prefix 
)

Ustawia mapowanie prefiksów typu dla wszystkich zarejestrowanych logów.

void common::Logger::Log ( uint4  Type,
const tstring &  Message 
)
void common::Logger::SetCustomPrefixInfo ( int  Index,
const tstring &  Info 
)

Ustawia własną informację prefiksu. Indeks: 0..2.

void common::Logger::SetPrefixFormat ( const tstring &  PrefixFormat  ) 

Ustawia format prefiksu dla wszystkich zarejestrowanych logów.


Friends And Related Function Documentation

void CreateLogger ( bool   )  [friend]

Tworzy logger.

void DestroyLogger (  )  [friend]

Usuwa logger.

friend class ILog [friend]

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

Generated on Wed Dec 16 20:44:54 2009 for CommonLib by  doxygen 1.6.1