Go to the documentation of this file. 32 #ifndef LOG_WRAPPER_H_ 33 #define LOG_WRAPPER_H_ 63 #define LOG_COMM(format, ...) \ 64 ROS_DEBUG(format, ##__VA_ARGS__) 66 #define LOG_DEBUG(format, ...) \ 67 ROS_DEBUG(format, ##__VA_ARGS__) 69 #define LOG_INFO(format, ...) \ 70 ROS_INFO(format, ##__VA_ARGS__) 72 #define LOG_WARN(format, ...) \ 73 ROS_WARN(format, ##__VA_ARGS__) 75 #define LOG_ERROR(format, ...) \ 76 ROS_ERROR(format, ##__VA_ARGS__) 78 #define LOG_FATAL(format, ...) \ 79 ROS_FATAL(FATAL, ##__VA_ARGS__) 81 #elif defined(STDIOLOG) 83 #define LOG(level, format, ...) \ 88 printf(format, ##__VA_ARGS__); \ 94 #define LOG_COMM(format, ...) LOG("COMM", format, ##__VA_ARGS__) 95 #define LOG_DEBUG(format, ...) LOG("DEBUG", format, ##__VA_ARGS__) 96 #define LOG_INFO(format, ...) LOG("INFO", format, ##__VA_ARGS__) 97 #define LOG_WARN(format, ...) LOG("WARNING", format, ##__VA_ARGS__) 98 #define LOG_ERROR(format, ...) LOG("ERROR", format, ##__VA_ARGS__) 99 #define LOG_FATAL(format, ...) LOG("FATAL", format, ##__VA_ARGS__) 104 #define LOG_COMM(format, ...) 105 #define LOG_DEBUG(format, ...) 106 #define LOG_INFO(format, ...) 107 #define LOG_WARN(format, ...) 108 #define LOG_ERROR(format, ...) 109 #define LOG_FATAL(format, ...)
simple_message
Author(s): Shaun Edwards
autogenerated on Sat Sep 21 2019 03:30:09