libosmscout
0.1
|
#include <LoggerImpl.h>
Public Member Functions | |
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) | |
![]() | |
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 ()=default | |
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 | |
![]() | |
enum | Level { DEBUG, INFO, WARN, ERROR } |
The StreamLogger allows to direct logging output to a standard library std::ostream. IT allows to assign one stream for DEBUG and INFO logging and a different stream for WARN and ERROR log output.
osmscout::StreamLogger::StreamLogger | ( | std::ostream & | infoStream, |
std::ostream & | errorStream | ||
) |
|
overridevirtual |
The actual logging method, Debug(), Info(), Warn() and Error() are dispatching to.
Implements osmscout::Logger.
References osmscout::Logger::DEBUG, and osmscout::Logger::INFO.