28 #ifndef WEBSOCKETPP_LOGGER_LEVELS_HPP 29 #define WEBSOCKETPP_LOGGER_LEVELS_HPP 31 #include <websocketpp/common/stdint.hpp> 37 typedef uint32_t level;
51 static value
const none = 0;
61 static level
const none = 0x0;
63 static level
const devel = 0x1;
66 static level
const library = 0x2;
69 static level
const info = 0x4;
72 static level
const warn = 0x8;
75 static level
const rerror = 0x10;
78 static level
const fatal = 0x20;
80 static level
const all = 0xffffffff;
121 static level
const connect = 0x1;
123 static level
const disconnect = 0x2;
125 static level
const control = 0x4;
127 static level
const frame_header = 0x8;
129 static level
const frame_payload = 0x10;
131 static level
const message_header = 0x20;
133 static level
const message_payload = 0x40;
137 static level
const debug_handshake = 0x100;
139 static level
const debug_close = 0x200;
141 static level
const devel = 0x400;
143 static level
const app = 0x800;
145 static level
const http = 0x1000;
147 static level
const fail = 0x2000;
150 static level
const access_core = 0x00003003;
152 static level
const all = 0xffffffff;
173 return "frame_header";
175 return "frame_payload";
177 return "message_header";
178 case message_payload:
179 return "message_payload";
182 case debug_handshake:
183 return "debug_handshake";
185 return "debug_close";
189 return "application";
203 #endif //WEBSOCKETPP_LOGGER_LEVELS_HPP uint32_t value
Type of a channel type hint value.
static value const access
Access log.
Package of log levels for logging access events.
Package of values for hinting at the nature of a given logger.
static value const error
Error log.
Namespace for the WebSocket++ project.
Creates and manages connections associated with a WebSocket endpoint.
static char const * channel_name(level channel)
Get the textual name of a channel given a channel id.
static value const none
No information.
Package of log levels for logging errors.
static char const * channel_name(level channel)
Get the textual name of a channel given a channel id.