28 #ifndef WEBSOCKETPP_LOGGER_STUB_HPP
29 #define WEBSOCKETPP_LOGGER_STUB_HPP
31 #include <websocketpp/logger/levels.hpp>
33 #include <websocketpp/common/cpp11.hpp>
55 _WEBSOCKETPP_CONSTEXPR_TOKEN_
stub() {}
82 void write(level, std::string
const &) {}
91 void write(level,
char const *) {}
119 #endif // WEBSOCKETPP_LOGGER_STUB_HPP
void write(level, std::string const &)
Write a string message to the given channel.
uint32_t value
Type of a channel type hint value.
_WEBSOCKETPP_CONSTEXPR_TOKEN_ bool static_test(level) const
Test whether a channel is statically enabled.
bool dynamic_test(level)
Test whether a channel is dynamically enabled.
stub(level, channel_type_hint::value)
Construct the logger.
Namespace for the WebSocket++ project.
void write(level, char const *)
Write a cstring message to the given channel.
void clear_channels(level)
Dynamically disable the given list of channels.
stub(channel_type_hint::value)
Construct the logger.
void set_channels(level)
Dynamically enable the given list of channels.
Stub logger that ignores all input.