CL_Logger Class Reference
[clanCore Text]

Logger interface. More...

#include <logger.h>

Inheritance diagram for CL_Logger:

CL_ConsoleLogger CL_FileLogger List of all members.

Operations

void enable ()
 Enable logger for logging.
void disable ()
 Disable logging.
virtual void log (const CL_StringRef &type, const CL_StringRef &text)
 Log text.

Public Member Functions

Construction
 CL_Logger ()
 Constructs a logger.
virtual ~CL_Logger ()

Detailed Description

Logger interface.


Constructor & Destructor Documentation

CL_Logger::CL_Logger  ) 
 

Constructs a logger.

virtual CL_Logger::~CL_Logger  )  [virtual]
 


Member Function Documentation

void CL_Logger::disable  ) 
 

Disable logging.

void CL_Logger::enable  ) 
 

Enable logger for logging.

virtual void CL_Logger::log const CL_StringRef type,
const CL_StringRef text
[virtual]
 

Log text.

Reimplemented in CL_ConsoleLogger, and CL_FileLogger.


Member Data Documentation

std::vector<CL_Logger*> CL_Logger::instances [static]
 

Pointers to currently enabled logger.

CL_Mutex CL_Logger::mutex [static]
 

Logger mutex object.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:39 2009 for ClanLib by  doxygen 1.4.6