Loading...
Searching...
No Matches
Logging Macros
Macros | |
| #define | OMPL_ERROR(fmt, ...) |
| Log a formatted error string. | |
| #define | OMPL_WARN(fmt, ...) |
| Log a formatted warning string. | |
| #define | OMPL_INFORM(fmt, ...) |
| Log a formatted information string. | |
| #define | OMPL_DEBUG(fmt, ...) |
| Log a formatted debugging string. | |
Detailed Description
Macro Definition Documentation
◆ OMPL_DEBUG
| #define OMPL_DEBUG | ( | fmt, | |
| ... ) |
Value:
ompl::msg::log(__FILE__, __LINE__, ompl::msg::LOG_DEBUG, fmt, ##__VA_ARGS__)
void log(const char *file, int line, LogLevel level, const char *m,...)
Root level logging function. This should not be invoked directly, but rather used via a logging macro...
Definition Console.cpp:120
Log a formatted debugging string.
- Remarks
- This macro takes the same arguments as printf.
◆ OMPL_ERROR
| #define OMPL_ERROR | ( | fmt, | |
| ... ) |
Value:
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.
◆ OMPL_INFORM
| #define OMPL_INFORM | ( | fmt, | |
| ... ) |
Value:
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.
◆ OMPL_WARN
| #define OMPL_WARN | ( | fmt, | |
| ... ) |
Value:
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.