common::ILog Class Reference
[Logger Module]

Abstrakcyjna kasa bazowa wszelkich logów. More...

#include <Logger.hpp>

Inheritance diagram for common::ILog:
common::HtmlFileLog common::OstreamLog common::TextFileLog

List of all members.

Public Member Functions

 ILog ()
virtual ~ILog ()
Konfiguracja



void AddTypePrefixMapping (uint4 Mask, const tstring &Prefix)
 Dodaje mapowanie prefiksu typu dla tego loga.
void SetPrefixFormat (const tstring &PrefixFormat)
 Ustawia format prefiksu dla tego loga.

Protected Member Functions

virtual void OnLog (uint4 Type, const tstring &Prefix, const tstring &TypePrefix, const tstring &Message)=0
 Ma zalogować podany komunikat tam gdzie trzeba.

Friends

class Logger_pimpl

Detailed Description

Abstrakcyjna kasa bazowa wszelkich logów.


Constructor & Destructor Documentation

common::ILog::ILog (  ) 
virtual common::ILog::~ILog (  )  [virtual]

Member Function Documentation

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

Dodaje mapowanie prefiksu typu dla tego loga.

virtual void common::ILog::OnLog ( uint4  Type,
const tstring &  Prefix,
const tstring &  TypePrefix,
const tstring &  Message 
) [protected, pure virtual]

Ma zalogować podany komunikat tam gdzie trzeba.

Implemented in common::TextFileLog, common::HtmlFileLog, and common::OstreamLog.

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

Ustawia format prefiksu dla tego loga.


Friends And Related Function Documentation

friend class Logger_pimpl [friend]

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

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