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;
69 static level
const info = 0x4;
72 static level
const warn = 0x8;
78 static level
const fatal = 0x20;
80 static level
const all = 0xffffffff;
143 static level
const app = 0x800;
145 static level
const all = 0xffffffff;
166 return "frame_header";
168 return "frame_payload";
170 return "message_header";
171 case message_payload:
172 return "message_payload";
175 case debug_handshake:
176 return "debug_handshake";
178 return "debug_close";
182 return "application";
192 #endif //WEBSOCKETPP_LOGGER_LEVELS_HPP
static level const all
Special aggregate value representing "all levels".
static level const none
Special aggregate value representing "no levels".
static level const control
One line per control frame.
static level const app
Special channel for application specific logs. Not used by the library.
uint32_t value
Type of a channel type hint value.
static value const access
Access log.
static level const frame_payload
One line per frame, includes the full message payload (warning: chatty)
static level const devel
Low level debugging information (warning: very chatty)
static level const message_payload
Reserved.
static level const frame_header
One line per frame, includes the full frame header.
Package of log levels for logging access events.
static level const devel
Development messages (warning: very chatty)
static level const disconnect
One line for each closed connection. Includes closing codes and reasons.
Package of values for hinting at the nature of a given logger.
static level const none
Special aggregate value representing "no levels".
static level const debug_handshake
Extra information about opening handshakes.
static value const error
Error log.
Namespace for the WebSocket++ project.
Creates and manages connections associated with a WebSocket endpoint.
static level const message_header
Reserved.
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 level const debug_close
Extra information about closing handshakes.
static char const * channel_name(level channel)
Get the textual name of a channel given a channel id.
static level const all
Special aggregate value representing "all levels".
static level const library
static level const rerror
static level const connect
Information about new connections.