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

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...
 

Detailed Description

Package of log levels for logging errors.

Definition at line 59 of file levels.hpp.

Member Function Documentation

◆ channel_name()

static char const* websocketpp::log::elevel::channel_name ( level  channel)
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.

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

Definition at line 91 of file levels.hpp.

References info.

Member Data Documentation

◆ none

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

Special aggregate value representing "no levels".

Definition at line 61 of file levels.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and main().

◆ devel

◆ library

◆ info

◆ warn

◆ rerror

◆ fatal

◆ all

level const websocketpp::log::elevel::all = 0xffffffff
static

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