Package of log levels for logging errors. 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 | devel = 0x1 |
Low level debugging information (warning: very chatty) More... | |
static level const | library = 0x2 |
Information about unusual system states or other minor internal library problems, less chatty than devel. More... | |
static level const | info = 0x4 |
Information about minor configuration problems or additional information about other warnings. More... | |
static level const | warn = 0x8 |
Information about important problems not severe enough to terminate connections. More... | |
static level const | rerror = 0x10 |
Recoverable error. More... | |
static level const | fatal = 0x20 |
Unrecoverable error. More... | |
static level const | all = 0xffffffff |
Special aggregate value representing "all levels". More... | |
Package of log levels for logging errors.
Definition at line 59 of file levels.hpp.
|
inlinestatic |
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.
channel | The channel id to look up. |
Definition at line 91 of file levels.hpp.
|
static |
Special aggregate value representing "no levels".
Definition at line 61 of file levels.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), and main().
|
static |
Low level debugging information (warning: very chatty)
Definition at line 63 of file levels.hpp.
Referenced by websocketpp::transport::iostream::connection< config >::async_shutdown(), websocketpp::connection< config >::get_supported_versions(), websocketpp::transport::asio::connection< config >::handle_async_shutdown_timeout(), websocketpp::transport::asio::endpoint< config >::handle_connect_timeout(), websocketpp::connection< config >::handle_pong_timeout(), websocketpp::transport::asio::connection< config >::handle_post_init_timeout(), 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::transport::asio::endpoint< config >::handle_resolve_timeout(), websocketpp::connection< config >::handle_terminate(), websocketpp::transport::debug::connection< config >::read_some_impl(), and websocketpp::log::syslog< concurrency, names >::write().
|
static |
Information about unusual system states or other minor internal library problems, less chatty than devel.
Definition at line 66 of file levels.hpp.
Referenced by websocketpp::transport::asio::connection< config >::handle_proxy_read(), websocketpp::transport::asio::endpoint< config >::init_asio(), websocketpp::transport::asio::endpoint< config >::listen(), websocketpp::transport::asio::connection< config >::proxy_read(), websocketpp::transport::asio::connection< config >::proxy_write(), websocketpp::transport::asio::endpoint< config >::stop_listening(), and websocketpp::log::syslog< concurrency, names >::write().
|
static |
Information about minor configuration problems or additional information about other warnings.
Definition at line 69 of file levels.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), websocketpp::transport::asio::connection< config >::get_remote_endpoint(), websocketpp::server< websocketpp::config::asio >::handle_accept(), 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_write(), websocketpp::transport::asio::endpoint< config >::handle_connect(), websocketpp::transport::asio::connection< config >::handle_proxy_read(), websocketpp::transport::asio::connection< config >::handle_proxy_write(), websocketpp::connection< config >::handle_read_frame(), websocketpp::transport::asio::endpoint< config >::handle_resolve(), websocketpp::transport::asio::connection< config >::handle_timer(), websocketpp::transport::asio::endpoint< config >::handle_timer(), websocketpp::transport::asio::endpoint< config >::listen(), and websocketpp::log::syslog< concurrency, names >::write().
|
static |
Information about important problems not severe enough to terminate connections.
Definition at line 72 of file levels.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), websocketpp::transport::asio::connection< config >::cancel_socket_checked(), websocketpp::connection< config >::get_supported_versions(), websocketpp::connection< config >::handle_read_frame(), websocketpp::connection< config >::handle_terminate(), websocketpp::connection< config >::ping(), and websocketpp::log::syslog< concurrency, names >::write().
|
static |
Recoverable error.
Recovery may mean cleanly closing the connection with an appropriate error code to the remote endpoint.
Definition at line 75 of file levels.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), websocketpp::client< websocketpp::config::asio_client >::connect(), websocketpp::server< websocketpp::config::asio >::handle_accept(), websocketpp::connection< config >::handle_read_frame(), websocketpp::connection< config >::handle_read_handshake(), websocketpp::connection< config >::handle_read_http_response(), websocketpp::connection< config >::handle_send_http_request(), websocketpp::connection< config >::handle_terminate(), websocketpp::connection< config >::handle_transport_init(), websocketpp::connection< config >::handle_write_http_response(), and websocketpp::log::syslog< concurrency, names >::write().
|
static |
Unrecoverable error.
This error will trigger immediate unclean termination of the connection or endpoint.
Definition at line 78 of file levels.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), websocketpp::endpoint< connection, config >::create_connection(), websocketpp::connection< config >::handle_read_frame(), websocketpp::connection< config >::handle_read_handshake(), websocketpp::connection< config >::handle_write_frame(), websocketpp::connection< config >::handle_write_http_response(), and websocketpp::log::syslog< concurrency, names >::write().
|
static |
Special aggregate value representing "all levels".
Definition at line 80 of file levels.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), main(), perftest::perftest(), run_client(), run_server(), run_server_test(), run_time_limited_client(), utility_server::utility_server(), websocket_endpoint::websocket_endpoint(), and nfd::face::WebSocketChannel::WebSocketChannel().