#include "common.hpp"
#include "ns3/log.h"
Go to the source code of this file.
Namespaces | |
nfd | |
Copyright (c) 2011-2015 Regents of the University of California. | |
Macros | |
#define | NFD_LOG_INIT(name) NS_LOG_COMPONENT_DEFINE("nfd." name); |
#define | NFD_LOG_INCLASS_DECLARE() static ns3::LogComponent g_log |
#define | NFD_LOG_INCLASS_DEFINE(cls, name) ns3::LogComponent cls::g_log = ns3::LogComponent ("nfd." name, __FILE__) |
#define | NFD_LOG_INCLASS_TEMPLATE_DEFINE(cls, name) |
#define | NFD_LOG_INCLASS_TEMPLATE_SPECIALIZATION_DEFINE(cls, specialization, name) |
#define | NFD_LOG_INCLASS_2TEMPLATE_SPECIALIZATION_DEFINE(cls, s1, s2, name) |
#define | NFD_LOG_TRACE(expression) NS_LOG_LOGIC(expression) |
#define | NFD_LOG_DEBUG(expression) NS_LOG_DEBUG(expression) |
#define | NFD_LOG_INFO(expression) NS_LOG_INFO(expression) |
#define | NFD_LOG_ERROR(expression) NS_LOG_ERROR(expression) |
#define | NFD_LOG_WARN(expression) NS_LOG_WARN(expression) |
#define | NFD_LOG_FATAL(expression) NS_LOG_FATAL(expression) |
#define NFD_LOG_INIT | ( | name | ) | NS_LOG_COMPONENT_DEFINE("nfd." name); |
Definition at line 34 of file logger.hpp.
#define NFD_LOG_INCLASS_DECLARE | ( | ) | static ns3::LogComponent g_log |
Definition at line 36 of file logger.hpp.
Referenced by nfd::face::InternalClientTransport::resume().
#define NFD_LOG_INCLASS_DEFINE | ( | cls, | |
name | |||
) | ns3::LogComponent cls::g_log = ns3::LogComponent ("nfd." name, __FILE__) |
Definition at line 39 of file logger.hpp.
#define NFD_LOG_INCLASS_TEMPLATE_DEFINE | ( | cls, | |
name | |||
) |
Definition at line 42 of file logger.hpp.
#define NFD_LOG_INCLASS_TEMPLATE_SPECIALIZATION_DEFINE | ( | cls, | |
specialization, | |||
name | |||
) |
Definition at line 46 of file logger.hpp.
#define NFD_LOG_INCLASS_2TEMPLATE_SPECIALIZATION_DEFINE | ( | cls, | |
s1, | |||
s2, | |||
name | |||
) |
Definition at line 50 of file logger.hpp.
#define NFD_LOG_TRACE | ( | expression | ) | NS_LOG_LOGIC(expression) |
Definition at line 54 of file logger.hpp.
Referenced by nfd::DeadNonceList::add(), nfd::clearStrategyInfo(), nfd::rib::AutoPrefixPropagator::disable(), nfd::PrivilegeHelper::drop(), nfd::NameTree::dump(), nfd::rib::RibManager::enableLocalControlHeader(), nfd::NameTree::eraseEntryIfEmpty(), nfd::rib::RibEntry::eraseRoute(), nfd::FibManager::FibManager(), nfd::cs::Cs::find(), nfd::NameTree::findAllMatches(), nfd::NameTree::findExactMatch(), nfd::NameTree::findLongestPrefixMatch(), nfd::NameTree::fullEnumerate(), nfd::PrivilegeHelper::initialize(), nfd::StrategyChoice::insert(), nfd::rib::Rib::insert(), nfd::UnixStreamChannel::listen(), nfd::UdpChannel::listen(), nfd::listNetworkInterfaces(), nfd::NameTree::lookup(), nfd::general::onConfig(), nfd::NameTree::const_iterator::operator++(), nfd::NameTree::partialEnumerate(), nfd::FaceManager::setConfigFile(), nfd::rib::RibManager::setConfigFile(), nfd::TcpChannel::size(), nfd::Forwarder::startProcessNack(), and nfd::NameTree::~NameTree().
#define NFD_LOG_DEBUG | ( | expression | ) | NS_LOG_DEBUG(expression) |
Definition at line 55 of file logger.hpp.
Referenced by nfd::fw::BestRouteStrategy2::afterReceiveInterest(), nfd::fw::AccessStrategy::afterReceiveInterest(), nfd::fw::BestRouteStrategy2::afterReceiveNack(), nfd::fw::Strategy::afterReceiveNack(), nfd::fw::Strategy::beforeExpirePendingInterest(), nfd::fw::AccessStrategy::beforeSatisfyInterest(), nfd::fw::Strategy::beforeSatisfyInterest(), nfd::rib::FibUpdater::computeAndSendFibUpdates(), nfd::face::InternalClientTransport::connectToForwarder(), nfd::TcpFactory::createChannel(), nfd::UdpFactory::createChannel(), nfd::rib::AutoPrefixPropagator::disable(), nfd::rib::RibManager::enableLocalControlHeader(), nfd::FibManager::FibManager(), nfd::cs::Cs::find(), nfd::rib::RibStatusPublisher::generate(), nfd::cs::Cs::insert(), nfd::UnixStreamChannel::listen(), nfd::UdpChannel::listen(), nfd::listNetworkInterfaces(), nfd::CommandValidator::onConfig(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::rib::RibManager::onRibUpdateSuccess(), nfd::rib::Rib::onRouteExpiration(), nfd::FaceManager::setConfigFile(), nfd::rib::RibManager::setConfigFile(), nfd::TcpChannel::size(), nfd::Forwarder::startProcessInterest(), nfd::Forwarder::startProcessNack(), nfd::StrategyChoiceManager::StrategyChoiceManager(), and nfd::UnixStreamChannel::~UnixStreamChannel().
#define NFD_LOG_INFO | ( | expression | ) | NS_LOG_INFO(expression) |
Definition at line 56 of file logger.hpp.
Referenced by nfd::FaceTable::addReserved(), nfd::clearStrategyInfo(), nfd::rib::AutoPrefixPropagator::disable(), nfd::PrivilegeHelper::drop(), nfd::TablesConfigSection::ensureTablesAreConfigured(), nfd::FibManager::FibManager(), nfd::StrategyChoice::findEffectiveStrategy(), nfd::Nfd::initialize(), nfd::rib::AutoPrefixPropagator::loadConfig(), nfd::CommandValidator::onConfig(), nfd::rib::RibManager::registerWithNfd(), nfd::NfdRunner::reload(), nfd::rib::RibManager::setConfigFile(), nfd::NfdRunner::terminate(), and nfd::rib::RibManager::~RibManager().
#define NFD_LOG_ERROR | ( | expression | ) | NS_LOG_ERROR(expression) |
Definition at line 57 of file logger.hpp.
Referenced by nfd::StrategyChoice::insert(), nfd::StrategyChoice::install(), nfd::FaceManager::setConfigFile(), nfd::rib::RibManager::setConfigFile(), and nfd::Forwarder::startProcessNack().
#define NFD_LOG_WARN | ( | expression | ) | NS_LOG_WARN(expression) |
Definition at line 58 of file logger.hpp.
Referenced by nfd::FaceTable::add(), nfd::fw::BroadcastStrategy::afterReceiveInterest(), nfd::fw::ClientControlStrategy::afterReceiveInterest(), nfd::UdpChannel::connect(), nfd::PrivilegeHelper::drop(), nfd::WebSocketChannel::listen(), nfd::TcpChannel::listen(), nfd::UnixStreamChannel::listen(), nfd::UdpChannel::listen(), nfd::listNetworkInterfaces(), nfd::makeNetworkMonitor(), nfd::CommandValidator::onConfig(), nfd::TcpChannel::size(), nfd::Forwarder::startProcessNack(), and nfd::WebSocketChannel::WebSocketChannel().
#define NFD_LOG_FATAL | ( | expression | ) | NS_LOG_FATAL(expression) |
Definition at line 59 of file logger.hpp.
Referenced by main(), and nfd::NfdRunner::run().