Odil
A C++11 library for the DICOM standard
Macros
logging.h File Reference
#include <boost/preprocessor/facilities/overload.hpp>
#include <log4cpp/Category.hh>
#include <log4cpp/Priority.hh>
Include dependency graph for logging.h:

Go to the source code of this file.

Macros

#define ODIL_LOG_1(level)   log4cpp::Category::getInstance("odil") << log4cpp::Priority::level
 
#define ODIL_LOG_2(level, sub)   log4cpp::Category::getInstance("odil." #sub) << log4cpp::Priority::level
 
#define ODIL_LOG(...)   BOOST_PP_OVERLOAD(ODIL_LOG_,__VA_ARGS__)(__VA_ARGS__)
 

Macro Definition Documentation

◆ ODIL_LOG

#define ODIL_LOG (   ...)    BOOST_PP_OVERLOAD(ODIL_LOG_,__VA_ARGS__)(__VA_ARGS__)

◆ ODIL_LOG_1

#define ODIL_LOG_1 (   level)    log4cpp::Category::getInstance("odil") << log4cpp::Priority::level

◆ ODIL_LOG_2

#define ODIL_LOG_2 (   level,
  sub 
)    log4cpp::Category::getInstance("odil." #sub) << log4cpp::Priority::level