Define RCUTILS_LOG_ERROR_SKIPFIRST_THROTTLE_NAMED
Defined in File logging_macros.h
Define Documentation
-
RCUTILS_LOG_ERROR_SKIPFIRST_THROTTLE_NAMED(get_time_point, duration, name, ...)
Log a message with given severity with the following conditions:
The first log call is ignored but all subsequent calls are processed.
Log calls are being ignored if the last logged message is not longer ago than the specified duration.
Note
The conditions will only be evaluated if this logging statement is enabled.
- Parameters:
get_time_point – [in] Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer.
duration – [in] The duration of the throttle interval as an integral value in milliseconds.
name – [in] The name of the logger
... – [in] The format string, followed by the variable arguments for the format string