OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
OpenAB::DefaultLogger Class Reference
Inheritance diagram for OpenAB::DefaultLogger:
Collaboration diagram for OpenAB::DefaultLogger:

Public Member Functions

 DefaultLogger ()
 
 ~DefaultLogger ()
 
Loggeroperator<< (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 >
Loggeroperator<< (T data)
 
Loggerget (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 LogLevelOutLevel ()
 Returns currently set LogLevel and allows to override it. More...
 
static LoggergetDefaultLogger ()
 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
 

Constructor & Destructor Documentation

OpenAB::DefaultLogger::DefaultLogger ( )
inline
OpenAB::DefaultLogger::~DefaultLogger ( )
inline

Member Function Documentation

Logger& OpenAB::DefaultLogger::operator<< ( std::ostream &(*)(std::ostream &)  pf)
inlinevirtual

Implements OpenAB::Logger.


The documentation for this class was generated from the following file: