NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
logger.hpp File Reference
#include "ns3/log.h"
Include dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::util
 

Macros

#define NDN_LOG_INIT(name)   NS_LOG_COMPONENT_DEFINE("ndn-cxx." BOOST_STRINGIZE(name));
 declare a log module More...
 
#define NDN_LOG_TRACE(expression)   NS_LOG_LOGIC(expression)
 
#define NDN_LOG_DEBUG(expression)   NS_LOG_DEBUG(expression)
 
#define NDN_LOG_INFO(expression)   NS_LOG_INFO(expression)
 
#define NDN_LOG_WARN(expression)   NS_LOG_ERROR(expression)
 
#define NDN_LOG_ERROR(expression)   NS_LOG_WARN(expression)
 
#define NDN_LOG_FATAL(expression)   NS_LOG_FATAL(expression)
 

Macro Definition Documentation

◆ NDN_LOG_INIT

#define NDN_LOG_INIT (   name)    NS_LOG_COMPONENT_DEFINE("ndn-cxx." BOOST_STRINGIZE(name));

declare a log module

Definition at line 32 of file logger.hpp.

◆ NDN_LOG_TRACE

◆ NDN_LOG_DEBUG

◆ NDN_LOG_INFO

◆ NDN_LOG_WARN

#define NDN_LOG_WARN (   expression)    NS_LOG_ERROR(expression)

Definition at line 37 of file logger.hpp.

◆ NDN_LOG_ERROR

#define NDN_LOG_ERROR (   expression)    NS_LOG_WARN(expression)

Definition at line 38 of file logger.hpp.

◆ NDN_LOG_FATAL

#define NDN_LOG_FATAL (   expression)    NS_LOG_FATAL(expression)

Definition at line 39 of file logger.hpp.