#include <RageLog.h>
Public Member Functions | |
| RageLog () | |
| ~RageLog () | |
| void | Trace (const char *fmt,...) PRINTF(2 |
| void | Warn (const char *fmt,...) PRINTF(2 |
| void | Info (const char *fmt,...) PRINTF(2 |
| void | Flush () |
| void | MapLog (const CString &key, const char *fmt,...) PRINTF(3 |
| void | UnmapLog (const CString &key) |
| void | SetShowLogOutput (bool show) |
| void | SetLogToDisk (bool b) |
| void | SetInfoToDisk (bool b) |
| void | SetFlushing (bool b) |
Static Public Member Functions | |
| const char * | GetAdditionalLog () |
| const char * | GetInfo () |
| const char * | GetRecentLog (int n) |
Private Member Functions | |
| void | Write (int, const CString &str) |
| void | UpdateMappedLog () |
| void | AddToInfo (const CString &buf) |
| void | AddToRecentLogs (const CString &buf) |
Private Attributes | |
| bool | m_bLogToDisk |
| bool | m_bInfoToDisk |
| bool | m_bFlush |
| bool | m_bShowLogOutput |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.7