NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
logger.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_CORE_LOGGER_HPP
27
#define NFD_CORE_LOGGER_HPP
28
29
#include "ns3/log.h"
30
31
namespace
nfd
{
32
33
#define NFD_LOG_INIT(name) NS_LOG_COMPONENT_DEFINE("nfd." name);
34
35
#define NFD_LOG_TRACE(expression) NS_LOG_LOGIC(expression)
36
#define NFD_LOG_DEBUG(expression) NS_LOG_DEBUG(expression)
37
#define NFD_LOG_INFO(expression) NS_LOG_INFO(expression)
38
#define NFD_LOG_ERROR(expression) NS_LOG_ERROR(expression)
39
#define NFD_LOG_WARN(expression) NS_LOG_WARN(expression)
40
#define NFD_LOG_FATAL(expression) NS_LOG_FATAL(expression)
41
42
}
// namespace nfd
43
44
#endif // NFD_CORE_LOGGER_HPP
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
ndnSIM
NFD
core
logger.hpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11