Lightstreamer C++ Client SDK
Loading...
Searching...
No Matches
LoggerProvider.h
1#ifndef INCLUDED_Lightstreamer_LoggerProvider
2#define INCLUDED_Lightstreamer_LoggerProvider
3
4#include "Lightstreamer/Logger.h"
5#include <string>
6
7namespace Lightstreamer {
8
15public:
16 virtual ~LoggerProvider() {};
27 virtual Logger* getLogger(const std::string& category) = 0;
28};
29
30} // namespace Lightstreamer
31
32#endif // INCLUDED_Lightstreamer_LoggerProvider
Interface to be implemented to consume log from the library.
Definition Logger.h:12
Simple interface to be implemented to provide custom log consumers to the library.
Definition LoggerProvider.h:14
virtual Logger * getLogger(const std::string &category)=0
Request for a Logger instance that will be used for logging occurring on the given category.