libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::ConsoleLogger Class Reference

The console logger extends the StreamLogger by assigning std::cout for normal loging output and std::cerr for error output. More...

#include <Logger.h>

+ Inheritance diagram for osmscout::ConsoleLogger:

Public Member Functions

 ConsoleLogger ()
 
- Public Member Functions inherited from osmscout::StreamLogger
Line Log (Level level) override
 The actual logging method, Debug(), Info(), Warn() and Error() are dispatching to. More...
 
 StreamLogger (std::ostream &infoStream, std::ostream &errorStream)
 
- Public Member Functions inherited from osmscout::Logger
Line Debug ()
 Start logging a line of debug output. More...
 
Line Error ()
 Start logging a line of error output. More...
 
Line Info ()
 Start logging a line of informational output. More...
 
 Logger ()
 
Line Warn ()
 Start logging a line of warning output (there is a potential problem, but the application could handle it) More...
 
virtual ~Logger ()=default
 

Additional Inherited Members

- Public Types inherited from osmscout::Logger
enum  Level { DEBUG, INFO, WARN, ERROR }
 

Detailed Description

The console logger extends the StreamLogger by assigning std::cout for normal loging output and std::cerr for error output.

Constructor & Destructor Documentation

osmscout::ConsoleLogger::ConsoleLogger ( )

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