WebSocket++
0.8.2
C++ websocket client/server library
|
28 #ifndef WEBSOCKETPP_LOGGER_STUB_HPP
29 #define WEBSOCKETPP_LOGGER_STUB_HPP
31 #include <websocketpp/logger/levels.hpp>
33 #include <websocketpp/common/cpp11.hpp>
37 namespace websocketpp {
47 explicit stub(channel_type_hint::value) {}
54 stub(level, channel_type_hint::value) {}
82 void write(level, std::string
const &) {}
91 void write(level,
char const *) {}
void write(level, std::string const &)
Write a string message to the given channel.
bool dynamic_test(level)
Test whether a channel is dynamically enabled.
#define _WEBSOCKETPP_CONSTEXPR_TOKEN_
void clear_channels(level)
Dynamically disable the given list of channels.
stub(level, channel_type_hint::value)
Construct the logger.
_WEBSOCKETPP_CONSTEXPR_TOKEN_ bool static_test(level) const
Test whether a channel is statically enabled.
void write(level, char const *)
Write a cstring message to the given channel.
Stub logger that ignores all input.
stub(channel_type_hint::value)
Construct the logger.
void set_channels(level)
Dynamically enable the given list of channels.