Define RCUTILS_LOG_DEBUG_THROTTLE

Define Documentation

RCUTILS_LOG_DEBUG_THROTTLE(get_time_point, duration, ...)

Log a message with given severity with the following condition:

  • Log calls are ignored if the last logged message is not longer ago than the specified duration.

Note

The condition 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.

  • ...[in] The format string, followed by the variable arguments for the format string