WebSocket++
0.8.1
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>
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.
static std::vector< int > const versions_supported(helper, helper+4)
Container that stores the list of protocol versions supported.
_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.
uint32_t value
Type of a channel type hint value.
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.
Package of values for hinting at the nature of a given logger.