123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- #ifndef WEBSOCKETPP_LOGGER_STUB_HPP
- #define WEBSOCKETPP_LOGGER_STUB_HPP
- #include <websocketpp/logger/levels.hpp>
- #include <websocketpp/common/cpp11.hpp>
- #include <string>
- namespace websocketpp {
- namespace log {
- class stub {
- public:
-
-
- explicit stub(channel_type_hint::value) {}
-
-
- stub(level, channel_type_hint::value) {}
- _WEBSOCKETPP_CONSTEXPR_TOKEN_ stub() {}
-
-
- void set_channels(level) {}
-
-
- void clear_channels(level) {}
-
-
- void write(level, std::string const &) {}
-
-
- void write(level, char const *) {}
-
-
- _WEBSOCKETPP_CONSTEXPR_TOKEN_ bool static_test(level) const {
- return false;
- }
-
-
- bool dynamic_test(level) {
- return false;
- }
- };
- }
- }
- #endif
|