2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
28#ifndef WEBSOCKETPP_LOGGER_STUB_HPP
29#define WEBSOCKETPP_LOGGER_STUB_HPP
31#include <websocketpp/logger/levels.hpp>
33#include <websocketpp/common/cpp11.hpp>
45
46
51
52
53
59
60
61
62
63
68
69
70
71
72
77
78
79
80
81
82 void write(level, std::string
const &) {}
86
87
88
89
90
91 void write(level,
char const *) {}
95
96
97
98
99
106
107
108
109
110
Stub logger that ignores all input.
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.
void set_channels(level)
Dynamically enable the given list of channels.
bool dynamic_test(level)
Test whether a channel is dynamically enabled.
void write(level, std::string const &)
Write a string message to the given channel.
stub(channel_type_hint::value)
Construct the logger.
void clear_channels(level)
Dynamically disable the given list of channels.
#define _WEBSOCKETPP_CONSTEXPR_TOKEN_
Namespace for the WebSocket++ project.
Package of values for hinting at the nature of a given logger.
uint32_t value
Type of a channel type hint value.