ClanLib  2.3.7
List of all members
CL_FileLogger Class Reference

File logger. More...

#include <file_logger.h>

Inheritance diagram for CL_FileLogger:
Inheritance graph
[legend]

Public Member Functions

Construction
 CL_FileLogger (const CL_StringRef &filename)
 Constructs a file logger. More...
 
 ~CL_FileLogger ()
 
Operations
void log (const CL_StringRef &type, const CL_StringRef &text)
 Log text to file. More...
 
Operations
void enable ()
 Enable logger for logging. More...
 
void disable ()
 Disable logging. More...
 

Static Public Attributes

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

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
staticinherited

Pointers to currently enabled logger.

CL_Mutex CL_Logger::mutex
staticinherited

Logger mutex object.


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