|
ClanLib
2.3.7
|
File logger. More...
#include <file_logger.h>

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... | |
File logger.
| CL_FileLogger::CL_FileLogger | ( | const CL_StringRef & | filename) |
Constructs a file logger.
| CL_FileLogger::~CL_FileLogger | ( | ) |
|
inherited |
Disable logging.
|
inherited |
Enable logger for logging.
|
virtual |
Log text to file.
Reimplemented from CL_Logger.
|
staticinherited |
Pointers to currently enabled logger.
|
staticinherited |
Logger mutex object.
1.8.4