logger.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
30 #ifndef NLSR_LOGGER_HPP
31 #define NLSR_LOGGER_HPP
32 
33 #include <ndn-cxx/util/logger.hpp>
34 
35 #define INIT_LOGGER(name) NDN_LOG_INIT(nlsr.name)
36 
37 #define NLSR_LOG_TRACE(x) NDN_LOG_TRACE(x)
38 #define NLSR_LOG_DEBUG(x) NDN_LOG_DEBUG(x)
39 #define NLSR_LOG_INFO(x) NDN_LOG_INFO(x)
40 #define NLSR_LOG_WARN(x) NDN_LOG_WARN(x)
41 #define NLSR_LOG_ERROR(x) NDN_LOG_ERROR(x)
42 #define NLSR_LOG_FATAL(x) NDN_LOG_FATAL(x)
43 
44 #endif // NLSR_LOGGER_HPP