CL_FileLogger Class Reference
[clanCore Text]

File logger. More...

#include <file_logger.h>

Inheritance diagram for CL_FileLogger:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Construction

 CL_FileLogger (const CL_StringRef &filename)
 Constructs a file logger.
 ~CL_FileLogger ()
Operations

void log (const CL_StringRef &type, const CL_StringRef &text)
 Log text to file.
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

File logger.


Constructor & Destructor Documentation

CL_FileLogger::CL_FileLogger ( const CL_StringRef filename  ) 

Constructs a file logger.

CL_FileLogger::~CL_FileLogger (  ) 

Member Function Documentation

void CL_Logger::disable (  )  [inherited]

Disable logging.

void CL_Logger::enable (  )  [inherited]

Enable logger for logging.

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

Log text to file.

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: