These macros augment the log message with some face-specific information, such as the face ID, that are useful to distinguish which face produced the message. More...
Macros | |
#define | NFD_LOG_FACE_TRACE(msg) NFD_LOG_FACE(TRACE, msg) |
Log a message at TRACE level. More... | |
#define | NFD_LOG_FACE_DEBUG(msg) NFD_LOG_FACE(DEBUG, msg) |
Log a message at DEBUG level. More... | |
#define | NFD_LOG_FACE_INFO(msg) NFD_LOG_FACE(INFO, msg) |
Log a message at INFO level. More... | |
#define | NFD_LOG_FACE_WARN(msg) NFD_LOG_FACE(WARN, msg) |
Log a message at WARN level. More... | |
#define | NFD_LOG_FACE_ERROR(msg) NFD_LOG_FACE(ERROR, msg) |
Log a message at ERROR level. More... | |
These macros augment the log message with some face-specific information, such as the face ID, that are useful to distinguish which face produced the message.
It is strongly recommended to use these macros instead of the generic ones for all logging inside Face, LinkService, Transport subclasses.
#define NFD_LOG_FACE_TRACE | ( | msg | ) | NFD_LOG_FACE(TRACE, msg) |
Log a message at TRACE level.
Definition at line 139 of file face-common.hpp.
Referenced by nfd::face::Transport::canChangePersistencyTo(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::deferredClose(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::doClose(), nfd::face::EthernetTransport::doClose(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::doClose(), nfd::face::InternalForwarderTransport::doClose(), nfd::face::WebSocketTransport::doClose(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::doSend(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::doSend(), nfd::face::LpReliability::findLostLpPackets(), nfd::face::MulticastUdpTransport::getSendQueueLength(), nfd::face::LpReliability::handleOutgoing(), nfd::face::WebSocketTransport::handlePong(), nfd::face::WebSocketTransport::handlePongTimeout(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::handleReceive(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::handleSend(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::handleSend(), nfd::face::LpReliability::onLpPacketLost(), nfd::face::LpReliability::piggyback(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::processErrorCode(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::processErrorCode(), nfd::face::LpReliability::processIncomingPacket(), nfd::face::LinkService::receiveData(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::receiveDatagram(), nfd::face::LpReassembler::receiveFragment(), nfd::face::LinkService::receiveInterest(), nfd::face::WebSocketTransport::receiveMessage(), nfd::face::LinkService::receiveNack(), nfd::face::InternalForwarderTransport::receivePacket(), nfd::face::EthernetTransport::receivePayload(), nfd::face::Transport::send(), nfd::face::LinkService::sendData(), nfd::face::LinkService::sendInterest(), nfd::face::LinkService::sendNack(), and nfd::face::WebSocketTransport::WebSocketTransport().
#define NFD_LOG_FACE_DEBUG | ( | msg | ) | NFD_LOG_FACE(DEBUG, msg) |
Log a message at DEBUG level.
Definition at line 142 of file face-common.hpp.
Referenced by nfd::face::EthernetTransport::doClose(), nfd::face::InternalForwarderTransport::InternalForwarderTransport(), nfd::face::MulticastEthernetTransport::MulticastEthernetTransport(), nfd::face::MulticastUdpTransport::MulticastUdpTransport(), nfd::face::LpReliability::onLpPacketLost(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::processErrorCode(), nfd::face::LpReliability::processIncomingPacket(), nfd::face::EthernetTransport::receivePayload(), nfd::face::UnicastEthernetTransport::UnicastEthernetTransport(), nfd::face::UnicastUdpTransport::UnicastUdpTransport(), nfd::face::UnixStreamTransport::UnixStreamTransport(), and nfd::face::WebSocketTransport::WebSocketTransport().
#define NFD_LOG_FACE_INFO | ( | msg | ) | NFD_LOG_FACE(INFO, msg) |
Log a message at INFO level.
Definition at line 145 of file face-common.hpp.
Referenced by nfd::face::UnicastUdpTransport::afterChangePersistency(), nfd::face::UnicastEthernetTransport::afterChangePersistency(), nfd::face::Transport::setMtu(), nfd::face::Transport::setPersistency(), and nfd::face::Transport::setState().
#define NFD_LOG_FACE_WARN | ( | msg | ) | NFD_LOG_FACE(WARN, msg) |
Log a message at WARN level.
Definition at line 148 of file face-common.hpp.
Referenced by nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::DatagramTransport(), nfd::face::EthernetTransport::doClose(), nfd::face::LpFragmenter::fragmentPacket(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::getSendQueueLength(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::getSendQueueLength(), nfd::face::MulticastUdpTransport::getSendQueueLength(), nfd::face::MulticastEthernetTransport::MulticastEthernetTransport(), nfd::face::MulticastUdpTransport::MulticastUdpTransport(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::receiveDatagram(), nfd::face::LpReassembler::receiveFragment(), nfd::face::WebSocketTransport::receiveMessage(), nfd::face::EthernetTransport::receivePayload(), and nfd::face::UnicastUdpTransport::UnicastUdpTransport().
#define NFD_LOG_FACE_ERROR | ( | msg | ) | NFD_LOG_FACE(ERROR, msg) |
Log a message at ERROR level.
Definition at line 151 of file face-common.hpp.
Referenced by nfd::face::StreamTransport< boost::asio::local::stream_protocol >::handleError(), nfd::face::WebSocketTransport::handlePongTimeout(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::handleReceive(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::processErrorCode(), and nfd::face::EthernetTransport::receivePayload().