OpenStructure
|
#include <log.hh>
Public Types | |
enum | LogLevel { QUIET = 0, WARNING = 1, SCRIPT = 2, INFO = 3, VERBOSE = 4, DEBUG = 5, TRACE = 6 } |
Public Member Functions | |
void | PushVerbosityLevel (int level) |
void | PopVerbosityLevel () |
void | PushSink (LogSinkPtr &sink) |
void | PushFile (const String &filename) |
void | PopFile () |
void | PopSink () |
LogSinkPtr | GetCurrentSink () |
int | GetVerbosityLevel () const |
void | ResetSinks () |
Static Public Member Functions | |
static Logger & | Instance () |
Protected Member Functions | |
Logger () | |
Logger (const Logger &) | |
Logger & | operator= (const Logger &) |
enum LogLevel |
|
protected |
|
inline |
|
static |
void PopFile | ( | ) |
DEPRECATED use PopSink() instead.
void PopSink | ( | ) |
void PopVerbosityLevel | ( | ) |
void PushFile | ( | const String & | filename | ) |
void PushSink | ( | LogSinkPtr & | sink | ) |
void PushVerbosityLevel | ( | int | level | ) |