|
Public Member Functions |
|
| Log (const wstring &programName) |
Static Public Member Functions |
|
void | registerPattern (const wstring &pattern) |
|
void | unregisterPattern (const wstring &pattern) |
|
void | clearPatterns () |
|
const vector< wstring > & | patterns () |
|
LogLevel | level () |
|
void | setLevel (LogLevel level) |
|
LogLevel | threshold () |
|
void | setThreshold (LogLevel threshold) |
|
void | setPreambleFlags (const GlobalLog::PreambleFlags flags) |
|
bool | isEnabled (const LogLevel level) |
|
bool | isEnabled (const wstring &category) |
|
const wstring | levelName (const LogLevel level) |
|
const wstring | levelColor (const LogLevel level) |
|
void | write (const wstring &category, const LogLevel level, wostringstream &wos) |
|
void | setIndentationState (const bool indentation) |
|
void | setIndentationAmount (const size_t spaces) |
|
void | registerIndentationLevelPlaceholder (int &indentationLevel) |
|
void | unregisterIndentationLevelPlaceholder () |
|
bool | outputToTTY () |