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 http = 0x1000;
147 static level
const fail = 0x2000;
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
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.
static level const access_core
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 level const fail
One line for each failed WebSocket connection with details.
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.
static level const http
Access related to HTTP requests.