ClanLib
2.3.7
|
Logger interface. More...
#include <logger.h>
Public Member Functions | |
Construction | |
CL_Logger () | |
Constructs a logger. More... | |
virtual | ~CL_Logger () |
Operations | |
void | enable () |
Enable logger for logging. More... | |
void | disable () |
Disable logging. More... | |
virtual void | log (const CL_StringRef &type, const CL_StringRef &text) |
Log text. 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... | |
Logger interface.
CL_Logger::CL_Logger | ( | ) |
Constructs a logger.
|
virtual |
void CL_Logger::disable | ( | ) |
Disable logging.
void CL_Logger::enable | ( | ) |
Enable logger for logging.
|
virtual |
Log text.
Reimplemented in CL_FileLogger, and CL_ConsoleLogger.
|
static |
Pointers to currently enabled logger.
|
static |
Logger mutex object.