38 #ifndef ROSFLIGHT_ROS_LOGGER_H 39 #define ROSFLIGHT_ROS_LOGGER_H 57 template <
typename... Args>
58 inline void debug(
const char* format,
const Args&...
args)
60 #pragma GCC diagnostic push 61 #pragma GCC diagnostic ignored "-Wformat-security" 63 #pragma GCC diagnostic pop 65 template <
typename... Args>
68 #pragma GCC diagnostic push 69 #pragma GCC diagnostic ignored "-Wformat-security" 71 #pragma GCC diagnostic pop 74 template <
typename... Args>
75 inline void info(
const char* format,
const Args&...
args)
77 #pragma GCC diagnostic push 78 #pragma GCC diagnostic ignored "-Wformat-security" 80 #pragma GCC diagnostic pop 82 template <
typename... Args>
85 #pragma GCC diagnostic push 86 #pragma GCC diagnostic ignored "-Wformat-security" 88 #pragma GCC diagnostic pop 91 template <
typename... Args>
92 inline void warn(
const char* format,
const Args&...
args)
94 #pragma GCC diagnostic push 95 #pragma GCC diagnostic ignored "-Wformat-security" 97 #pragma GCC diagnostic pop 99 template <
typename... Args>
102 #pragma GCC diagnostic push 103 #pragma GCC diagnostic ignored "-Wformat-security" 105 #pragma GCC diagnostic pop 108 template <
typename... Args>
109 inline void error(
const char* format,
const Args&...
args)
111 #pragma GCC diagnostic push 112 #pragma GCC diagnostic ignored "-Wformat-security" 114 #pragma GCC diagnostic pop 116 template <
typename... Args>
119 #pragma GCC diagnostic push 120 #pragma GCC diagnostic ignored "-Wformat-security" 122 #pragma GCC diagnostic pop 125 template <
typename... Args>
126 inline void fatal(
const char* format,
const Args&...
args)
128 #pragma GCC diagnostic push 129 #pragma GCC diagnostic ignored "-Wformat-security" 131 #pragma GCC diagnostic pop 133 template <
typename... Args>
136 #pragma GCC diagnostic push 137 #pragma GCC diagnostic ignored "-Wformat-security" 139 #pragma GCC diagnostic pop 145 #endif // ROSFLIGHT_ROS_LOGGER_H void fatal_throttle(float period, const char *format, const Args &...args)
void info_throttle(float period, const char *format, const Args &...args)
#define ROS_WARN_THROTTLE(rate,...)
#define ROS_DEBUG_THROTTLE(rate,...)
void debug_throttle(float period, const char *format, const Args &...args)
void debug(const char *format, const Args &...args)
#define ROS_ERROR_THROTTLE(rate,...)
Abstract base class for message handler.
#define ROS_FATAL_THROTTLE(rate,...)
void error(const char *format, const Args &...args)
void warn_throttle(float period, const char *format, const Args &...args)
#define ROS_INFO_THROTTLE(rate,...)
void error_throttle(float period, const char *format, const Args &...args)
void fatal(const char *format, const Args &...args)
void info(const char *format, const Args &...args)
void warn(const char *format, const Args &...args)
Logger implementation for ROS environments.