Logging Macros

Macros

#define OMPL_ERROR(fmt, ...)   ompl::msg::log(__FILE__, __LINE__, ompl::msg::LOG_ERROR, fmt, ##__VA_ARGS__)
 Log a formatted error string. More...
 
#define OMPL_WARN(fmt, ...)   ompl::msg::log(__FILE__, __LINE__, ompl::msg::LOG_WARN, fmt, ##__VA_ARGS__)
 Log a formatted warning string. More...
 
#define OMPL_INFORM(fmt, ...)   ompl::msg::log(__FILE__, __LINE__, ompl::msg::LOG_INFO, fmt, ##__VA_ARGS__)
 Log a formatted information string. More...
 
#define OMPL_DEBUG(fmt, ...)   ompl::msg::log(__FILE__, __LINE__, ompl::msg::LOG_DEBUG, fmt, ##__VA_ARGS__)
 Log a formatted debugging string. More...
 

Detailed Description

Macro Definition Documentation

◆ OMPL_DEBUG

#define OMPL_DEBUG (   fmt,
  ... 
)    ompl::msg::log(__FILE__, __LINE__, ompl::msg::LOG_DEBUG, fmt, ##__VA_ARGS__)

Log a formatted debugging string.

Remarks
This macro takes the same arguments as printf.

Definition at line 70 of file Console.h.

◆ OMPL_ERROR

#define OMPL_ERROR (   fmt,
  ... 
)    ompl::msg::log(__FILE__, __LINE__, ompl::msg::LOG_ERROR, fmt, ##__VA_ARGS__)

Log a formatted error string.

Remarks
This macro takes the same arguments as printf.

Definition at line 64 of file Console.h.

◆ OMPL_INFORM

#define OMPL_INFORM (   fmt,
  ... 
)    ompl::msg::log(__FILE__, __LINE__, ompl::msg::LOG_INFO, fmt, ##__VA_ARGS__)

Log a formatted information string.

Remarks
This macro takes the same arguments as printf.

Definition at line 68 of file Console.h.

◆ OMPL_WARN

#define OMPL_WARN (   fmt,
  ... 
)    ompl::msg::log(__FILE__, __LINE__, ompl::msg::LOG_WARN, fmt, ##__VA_ARGS__)

Log a formatted warning string.

Remarks
This macro takes the same arguments as printf.

Definition at line 66 of file Console.h.