Lightstreamer C++ Client SDK
|
Simple concrete logging provider that logs on the system console. More...
#include <ConsoleLoggerProvider.h>
Public Member Functions | |
ConsoleLoggerProvider (ConsoleLogLevel level) | |
Creates an instance of the concrete system console logger. | |
LIGHTSTREAMER_WIN_API Logger * | getLogger (const std::string &category) override |
Request for a Logger instance that will be used for logging occurring on the given category. | |
Simple concrete logging provider that logs on the system console.
To be used, an instance of this class has to be passed to the library through the LightstreamerClient#setLoggerProvider()
.
|
inline |
Creates an instance of the concrete system console logger.
level | The desired logging level. See ConsoleLogLevel . |
|
overridevirtual |
Request for a Logger instance that will be used for logging occurring on the given category.
It is suggested, but not mandatory, that subsequent calls to this method related to the same category return the same Logger instance.
category | the log category all messages passed to the given Logger instance will pertain to. |
Implements Lightstreamer::LoggerProvider.