PURIFY
Next-generation radio interferometric imaging
Macros
Logging macros

Macros

#define PURIFY_MSG_LVL(lvl, ...)
 Neat CPU-conserving logging macros. Use by preference! More...
 
#define PURIFY_LOG_(TYPE, ...)   PURIFY_MSG_LVL(purify::logging::Log::TYPE, __VA_ARGS__)
 \macro For internal use only More...
 

Detailed Description

Macro Definition Documentation

◆ PURIFY_LOG_

#define PURIFY_LOG_ (   TYPE,
  ... 
)    PURIFY_MSG_LVL(purify::logging::Log::TYPE, __VA_ARGS__)

\macro For internal use only

Definition at line 181 of file logging.h.

◆ PURIFY_MSG_LVL

#define PURIFY_MSG_LVL (   lvl,
  ... 
)
Value:
do { \
if (purify::logging::getLog().isActive(lvl)) { \
} \
} while (0)
Log & getLog()
Access method to default Log object.
Definition: logging.h:134
std::string mkFormattedString(const char *txt, Args &&... args)
Helper method to construct formatted string.
Definition: logging.h:154

Neat CPU-conserving logging macros. Use by preference!

Note
Only usable in classes where a getLog() method is provided

Definition at line 173 of file logging.h.