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 69 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 63 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 67 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 65 of file Console.h.