OpenAB
1.0.1
|
Public Member Functions | |
DefaultLogger () | |
~DefaultLogger () | |
Logger & | operator<< (std::ostream &(*pf)(std::ostream &)) |
Public Member Functions inherited from OpenAB::Logger | |
Logger () | |
Default constructor. More... | |
virtual | ~Logger () |
Destructor, virtual by default. More... | |
template<typename T > | |
Logger & | operator<< (T data) |
Logger & | get (LogLevel l) |
Additional Inherited Members | |
Public Types inherited from OpenAB::Logger | |
enum | LogLevel { Fatal = 0, Error, Warning, Info, Verbose, DebugF, Debug } |
Static Public Member Functions inherited from OpenAB::Logger | |
static LogLevel & | OutLevel () |
Returns currently set LogLevel and allows to override it. More... | |
static Logger * | getDefaultLogger () |
Returns pointer to currently set default logger. There can be only one default logger set at the time. More... | |
static void | setDefaultLogger (Logger *logger) |
Sets new default logger. More... | |
Protected Member Functions inherited from OpenAB::Logger | |
const char * | toString (LogLevel l) |
Protected Attributes inherited from OpenAB::Logger | |
LogLevel | level |
std::ostringstream | oss |
|
inline |
|
inline |
|
inlinevirtual |
Implements OpenAB::Logger.