NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Channel logging macros

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

Detailed Description

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.

Macro Definition Documentation

#define NFD_LOG_CHAN_TRACE (   msg)    NFD_LOG_CHAN(TRACE, msg)
#define NFD_LOG_CHAN_INFO (   msg)    NFD_LOG_CHAN(INFO, msg)
#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.