CL_ConsoleLogger Class Reference
[clanCore Text]

Console logger. More...

#include <console_logger.h>

Inheritance diagram for CL_ConsoleLogger:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Construction

 CL_ConsoleLogger ()
 Constructs a console logger.
 ~CL_ConsoleLogger ()
Operations

void log (const CL_StringRef &type, const CL_StringRef &text)
 Log text to console.
Operations

void enable ()
 Enable logger for logging.
void disable ()
 Disable logging.

Static Public Attributes

Attributes

static std::vector< CL_Logger * > instances
 Pointers to currently enabled logger.
static CL_Mutex mutex
 Logger mutex object.

Detailed Description

Console logger.


Constructor & Destructor Documentation

CL_ConsoleLogger::CL_ConsoleLogger (  ) 

Constructs a console logger.

CL_ConsoleLogger::~CL_ConsoleLogger (  ) 

Member Function Documentation

void CL_Logger::disable (  )  [inherited]

Disable logging.

void CL_Logger::enable (  )  [inherited]

Enable logger for logging.

void CL_ConsoleLogger::log ( const CL_StringRef type,
const CL_StringRef text 
) [virtual]

Log text to console.

Reimplemented from CL_Logger.


Member Data Documentation

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

Pointers to currently enabled logger.

CL_Mutex CL_Logger::mutex [static, inherited]

Logger mutex object.


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