These macros augment the log message with some channel-specific information, such as the local URI, that are useful to distinguish which channel produced the message. More...
Macros | |
#define | NFD_LOG_CHAN_TRACE(msg) NFD_LOG_CHAN(TRACE, msg) |
Log a message at TRACE level. More... | |
#define | NFD_LOG_CHAN_DEBUG(msg) NFD_LOG_CHAN(DEBUG, msg) |
Log a message at DEBUG level. More... | |
#define | NFD_LOG_CHAN_INFO(msg) NFD_LOG_CHAN(INFO, msg) |
Log a message at INFO level. More... | |
#define | NFD_LOG_CHAN_WARN(msg) NFD_LOG_CHAN(WARN, msg) |
Log a message at WARN level. More... | |
#define | NFD_LOG_CHAN_ERROR(msg) NFD_LOG_CHAN(ERROR, msg) |
Log a message at ERROR level. More... | |
These macros augment the log message with some channel-specific information, such as the local URI, that are useful to distinguish which channel produced the message.
It is strongly recommended to use these macros instead of the generic ones for all logging inside Channel subclasses.
#define NFD_LOG_CHAN_TRACE | ( | msg | ) | NFD_LOG_CHAN(TRACE, msg) |
Log a message at TRACE level.
Definition at line 46 of file channel-log.hpp.
Referenced by nfd::face::TcpChannel::connect(), nfd::face::WebSocketChannel::handlePong(), nfd::face::UdpChannel::listen(), nfd::face::UnixStreamChannel::listen(), and nfd::face::EthernetChannel::listen().
#define NFD_LOG_CHAN_DEBUG | ( | msg | ) | NFD_LOG_CHAN(DEBUG, msg) |
Log a message at DEBUG level.
Definition at line 49 of file channel-log.hpp.
Referenced by nfd::face::UdpChannel::connect(), nfd::face::EthernetChannel::connect(), nfd::face::TcpChannel::connect(), nfd::face::WebSocketChannel::listen(), nfd::face::TcpChannel::listen(), nfd::face::UdpChannel::listen(), nfd::face::UnixStreamChannel::listen(), nfd::face::EthernetChannel::listen(), and nfd::face::UnixStreamChannel::~UnixStreamChannel().
#define NFD_LOG_CHAN_INFO | ( | msg | ) | NFD_LOG_CHAN(INFO, msg) |
Log a message at INFO level.
Definition at line 52 of file channel-log.hpp.
Referenced by nfd::face::EthernetChannel::EthernetChannel(), nfd::face::TcpChannel::TcpChannel(), nfd::face::UdpChannel::UdpChannel(), nfd::face::UnixStreamChannel::UnixStreamChannel(), and nfd::face::WebSocketChannel::WebSocketChannel().
#define NFD_LOG_CHAN_WARN | ( | msg | ) | NFD_LOG_CHAN(WARN, msg) |
Log a message at WARN level.
Definition at line 55 of file channel-log.hpp.
Referenced by nfd::face::WebSocketChannel::handlePong(), nfd::face::WebSocketChannel::handlePongTimeout(), nfd::face::WebSocketChannel::listen(), nfd::face::TcpChannel::listen(), nfd::face::UdpChannel::listen(), nfd::face::UnixStreamChannel::listen(), and nfd::face::EthernetChannel::listen().
#define NFD_LOG_CHAN_ERROR | ( | msg | ) | NFD_LOG_CHAN(ERROR, msg) |
Log a message at ERROR level.
Definition at line 58 of file channel-log.hpp.