WebSocket++
0.8.2
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;
66 static level
const library = 0x2;
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 const level http
Access related to HTTP requests.
static const level app
Special channel for application specific logs. Not used by the library.
static const char * channel_name(level channel)
Get the textual name of a channel given a channel id.
static const value none
No information.
static const level devel
Low level debugging information (warning: very chatty)
static const level control
One line per control frame.
static const level connect
Information about new connections.
static const level debug_close
Extra information about closing handshakes.
static const level debug_handshake
Extra information about opening handshakes.
static const level access_core
static const level frame_header
One line per frame, includes the full frame header.
static const level message_header
Reserved.
static const level endpoint
Reserved.
static const level devel
Development messages (warning: very chatty)
lib::weak_ptr< void > connection_hdl
A handle to uniquely identify a connection.
Package of log levels for logging errors.
static const level frame_payload
One line per frame, includes the full message payload (warning: chatty)
static const level rerror
uint32_t value
Type of a channel type hint value.
static const level fail
One line for each failed WebSocket connection with details.
static const level none
Special aggregate value representing "no levels".
static const char * channel_name(level channel)
Get the textual name of a channel given a channel id.
static const level message_payload
Reserved.
static const level all
Special aggregate value representing "all levels".
static const level none
Special aggregate value representing "no levels".
static const level disconnect
One line for each closed connection. Includes closing codes and reasons.
static const level all
Special aggregate value representing "all levels".
static const value access
Access log.
Package of values for hinting at the nature of a given logger.
Package of log levels for logging access events.
static const value error
Error log.