NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
websocketpp::log::alevel Struct Reference

Package of log levels for logging access events. More...

#include <levels.hpp>

Static Public Member Functions

static char const * channel_name (level channel)
 Get the textual name of a channel given a channel id. More...
 

Static Public Attributes

static level const none = 0x0
 Special aggregate value representing "no levels". More...
 
static level const connect = 0x1
 Information about new connections. More...
 
static level const disconnect = 0x2
 One line for each closed connection. Includes closing codes and reasons. More...
 
static level const control = 0x4
 One line per control frame. More...
 
static level const frame_header = 0x8
 One line per frame, includes the full frame header. More...
 
static level const frame_payload = 0x10
 One line per frame, includes the full message payload (warning: chatty) More...
 
static level const message_header = 0x20
 Reserved. More...
 
static level const message_payload = 0x40
 Reserved. More...
 
static level const endpoint = 0x80
 Reserved. More...
 
static level const debug_handshake = 0x100
 Extra information about opening handshakes. More...
 
static level const debug_close = 0x200
 Extra information about closing handshakes. More...
 
static level const devel = 0x400
 Development messages (warning: very chatty) More...
 
static level const app = 0x800
 Special channel for application specific logs. Not used by the library. More...
 
static level const http = 0x1000
 Access related to HTTP requests. More...
 
static level const fail = 0x2000
 One line for each failed WebSocket connection with details. More...
 
static level const access_core = 0x00003003
 Aggregate package representing the commonly used core access channels Connect, Disconnect, Fail, and HTTP. More...
 
static level const all = 0xffffffff
 Special aggregate value representing "all levels". More...
 

Detailed Description

Package of log levels for logging access events.

Definition at line 112 of file levels.hpp.

Member Function Documentation

static char const* websocketpp::log::alevel::channel_name ( level  channel)
inlinestatic

Get the textual name of a channel given a channel id.

Get the textual name of a channel given a channel id. The id must be that of a single channel. Passing an aggregate channel package results in undefined behavior.

Parameters
channelThe channelid to look up.
Returns
The name of the specified channel.

Definition at line 164 of file levels.hpp.

Member Data Documentation

level const websocketpp::log::alevel::none = 0x0
static

Special aggregate value representing "no levels".

Definition at line 114 of file levels.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and main().

level const websocketpp::log::alevel::connect = 0x1
static

Information about new connections.

One line for each new connection that includes a host of information including: the remote address, websocket version, requested resource, http code, remote user agent

Definition at line 121 of file levels.hpp.

Referenced by websocketpp::client< websocketpp::config::asio_client >::connect(), websocketpp::connection< config >::get_supported_versions(), main(), and telemetry_client::telemetry_client().

level const websocketpp::log::alevel::disconnect = 0x2
static

One line for each closed connection. Includes closing codes and reasons.

Definition at line 123 of file levels.hpp.

Referenced by websocketpp::connection< config >::get_supported_versions(), main(), and telemetry_client::telemetry_client().

level const websocketpp::log::alevel::control = 0x4
static

One line per control frame.

Definition at line 125 of file levels.hpp.

Referenced by websocketpp::connection< config >::get_supported_versions().

level const websocketpp::log::alevel::frame_header = 0x8
static

One line per frame, includes the full frame header.

Definition at line 127 of file levels.hpp.

Referenced by websocketpp::connection< config >::write_frame().

level const websocketpp::log::alevel::frame_payload = 0x10
static

One line per frame, includes the full message payload (warning: chatty)

Definition at line 129 of file levels.hpp.

Referenced by main(), utility_server::utility_server(), and websocketpp::connection< config >::write_frame().

level const websocketpp::log::alevel::message_header = 0x20
static

Reserved.

Definition at line 131 of file levels.hpp.

level const websocketpp::log::alevel::message_payload = 0x40
static

Reserved.

Definition at line 133 of file levels.hpp.

level const websocketpp::log::alevel::endpoint = 0x80
static

Reserved.

Definition at line 135 of file levels.hpp.

level const websocketpp::log::alevel::debug_handshake = 0x100
static

Extra information about opening handshakes.

Definition at line 137 of file levels.hpp.

level const websocketpp::log::alevel::debug_close = 0x200
static

Extra information about closing handshakes.

Definition at line 139 of file levels.hpp.

level const websocketpp::log::alevel::devel = 0x400
static

Development messages (warning: very chatty)

Definition at line 141 of file levels.hpp.

Referenced by websocketpp::transport::asio::endpoint< config >::async_accept(), websocketpp::transport::asio::endpoint< config >::async_connect(), websocketpp::transport::stub::connection< config >::async_read_at_least(), websocketpp::transport::debug::connection< config >::async_read_at_least(), websocketpp::transport::iostream::connection< config >::async_read_at_least(), websocketpp::transport::asio::connection< config >::async_read_at_least(), websocketpp::transport::iostream::connection< config >::async_shutdown(), websocketpp::transport::asio::connection< config >::async_shutdown(), websocketpp::transport::stub::connection< config >::async_write(), websocketpp::transport::debug::connection< config >::async_write(), websocketpp::transport::iostream::connection< config >::async_write(), BOOST_AUTO_TEST_CASE(), websocketpp::transport::asio::connection< config >::cancel_socket_checked(), websocketpp::client< websocketpp::config::asio_client >::client(), websocketpp::connection< config >::close(), websocketpp::transport::stub::connection< config >::connection(), websocketpp::transport::debug::connection< config >::connection(), websocketpp::transport::iostream::connection< config >::connection(), websocketpp::transport::asio::connection< config >::connection(), websocketpp::connection< stub_config >::connection(), websocketpp::endpoint< connection, config >::create_connection(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::endpoint(), websocketpp::connection< config >::get_supported_versions(), websocketpp::transport::asio::endpoint< config >::handle_accept(), websocketpp::transport::asio::connection< config >::handle_async_read(), websocketpp::transport::asio::connection< config >::handle_async_shutdown(), websocketpp::transport::asio::connection< config >::handle_async_shutdown_timeout(), websocketpp::transport::asio::connection< config >::handle_async_write(), websocketpp::connection< config >::handle_close_handshake_timeout(), websocketpp::transport::asio::endpoint< config >::handle_connect(), websocketpp::transport::asio::endpoint< config >::handle_connect_timeout(), websocketpp::connection< config >::handle_open_handshake_timeout(), websocketpp::connection< config >::handle_pause_reading(), websocketpp::transport::asio::connection< config >::handle_post_init(), websocketpp::transport::asio::connection< config >::handle_post_init_timeout(), websocketpp::transport::asio::connection< config >::handle_pre_init(), websocketpp::transport::asio::connection< config >::handle_proxy_read(), websocketpp::transport::asio::connection< config >::handle_proxy_timeout(), websocketpp::transport::asio::connection< config >::handle_proxy_write(), websocketpp::connection< config >::handle_read_frame(), websocketpp::connection< config >::handle_read_handshake(), websocketpp::connection< config >::handle_read_http_response(), websocketpp::transport::asio::endpoint< config >::handle_resolve(), websocketpp::transport::asio::endpoint< config >::handle_resolve_timeout(), websocketpp::connection< config >::handle_send_http_request(), websocketpp::connection< config >::handle_terminate(), websocketpp::connection< config >::handle_transport_init(), websocketpp::connection< config >::handle_write_frame(), websocketpp::connection< config >::handle_write_http_response(), websocketpp::transport::stub::connection< config >::init(), websocketpp::transport::debug::connection< config >::init(), websocketpp::transport::asio::connection< config >::init(), websocketpp::transport::iostream::connection< config >::init(), websocketpp::transport::asio::endpoint< config >::init(), websocketpp::transport::asio::endpoint< config >::init_asio(), websocketpp::connection< config >::initialize_processor(), websocketpp::endpoint< connection, config >::interrupt(), websocketpp::connection< config >::interrupt(), websocketpp::transport::asio::endpoint< config >::listen(), websocketpp::connection< config >::pause_reading(), websocketpp::connection< config >::ping(), websocketpp::connection< config >::pong(), websocketpp::transport::asio::connection< config >::post_init(), websocketpp::connection< config >::process_handshake_request(), websocketpp::transport::asio::connection< config >::proxy_read(), websocketpp::transport::asio::connection< config >::proxy_write(), websocketpp::connection< config >::read_handshake(), websocketpp::transport::debug::connection< config >::read_some_impl(), websocketpp::transport::iostream::endpoint< config >::register_ostream(), websocketpp::connection< config >::resume_reading(), websocketpp::connection< config >::send(), websocketpp::server< websocketpp::config::asio >::server(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::set_close_handler(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::set_fail_handler(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::set_http_handler(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::set_interrupt_handler(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::set_message_handler(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::set_open_handler(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::set_ping_handler(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::set_pong_handler(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::set_pong_timeout_handler(), websocketpp::connection< config >::set_termination_handler(), websocketpp::transport::debug::connection< config >::set_timer(), websocketpp::endpoint< connection< websocketpp::config::asio >, websocketpp::config::asio >::set_validate_handler(), websocketpp::connection< config >::start(), and websocketpp::connection< config >::terminate().

level const websocketpp::log::alevel::http = 0x1000
static
level const websocketpp::log::alevel::fail = 0x2000
static

One line for each failed WebSocket connection with details.

Definition at line 147 of file levels.hpp.

Referenced by websocketpp::connection< config >::get_supported_versions().

level const websocketpp::log::alevel::access_core = 0x00003003
static

Aggregate package representing the commonly used core access channels Connect, Disconnect, Fail, and HTTP.

Definition at line 150 of file levels.hpp.

Referenced by telemetry_server::telemetry_server().


The documentation for this struct was generated from the following file: