|
libosmscout 1.1.1
|
#include <libosmscout/include/osmscout/log/Logger.h>

Classes | |
| class | Destination |
| class | Line |
Public Types | |
| enum | Level { DEBUG , INFO , WARN , ERROR } |
Public Member Functions | |
| Logger ()=default | |
| virtual | ~Logger ()=default |
| Line | Debug () |
| Line | Info () |
| Line | Warn () |
| Line | Error () |
Protected Member Functions | |
| virtual Line | Log (Level level)=0 |
A logger is a special output stream. It can direct internal output to either the console, a file or some other (possibly OS specific) output sink. The actual destination is defined by passing a Destination instance to a Line instance.
|
default |
|
virtualdefault |
| Line osmscout::Logger::Debug | ( | ) |
Start logging a line of debug output
| Line osmscout::Logger::Error | ( | ) |
Start logging a line of error output
| Line osmscout::Logger::Info | ( | ) |
Start logging a line of informational output
The actual logging method, Debug(), Info(), Warn() and Error() are dispatching to.
Implemented in osmscout::NoOpLogger, and osmscout::StreamLogger.
| Line osmscout::Logger::Warn | ( | ) |
Start logging a line of warning output (there is a potential problem, but the application could handle it)