WebSocket++
0.8.3-dev
C++ websocket client/server library
|
28 #ifndef WEBSOCKETPP_LOGGER_LEVELS_HPP
29 #define WEBSOCKETPP_LOGGER_LEVELS_HPP
31 #include <websocketpp/common/stdint.hpp>
37 typedef uint32_t level;
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";
179 return "message_payload";
183 return "debug_handshake";
185 return "debug_close";
189 return "application";
static level const rerror
static level const http
Access related to HTTP requests.
static level const access_core
static level const none
Special aggregate value representing "no levels".
static level const app
Special channel for application specific logs. Not used by the library.
static level const frame_payload
One line per frame, includes the full message payload (warning: chatty)
static value const none
No information.
static level const devel
Low level debugging information (warning: very chatty)
static value const access
Access log.
static level const message_payload
Reserved.
static level const debug_handshake
Extra information about opening handshakes.
static level const connect
Information about new connections.
static std::vector< int > const versions_supported(helper, helper+4)
Container that stores the list of protocol versions supported.
static level const all
Special aggregate value representing "all levels".
static level const endpoint
Reserved.
static level const control
One line per control frame.
Package of log levels for logging errors.
uint32_t value
Type of a channel type hint value.
static level const fail
One line for each failed WebSocket connection with details.
static value const error
Error log.
static level const none
Special aggregate value representing "no levels".
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 level const frame_header
One line per frame, includes the full frame header.
static char const * channel_name(level channel)
Get the textual name of a channel given a channel id.
static level const disconnect
One line for each closed connection. Includes closing codes and reasons.
static level const library
static level const debug_close
Extra information about closing handshakes.
Package of values for hinting at the nature of a given logger.
Package of log levels for logging access events.
static level const devel
Development messages (warning: very chatty)
static level const all
Special aggregate value representing "all levels".