Define RCLCPP_DEBUG_FUNCTION

Define Documentation

RCLCPP_DEBUG_FUNCTION(logger, function, ...)

Log a message with given severity with the following condition:

  • Log calls are ignored when the function returns false.

Parameters:
  • logger – The rclcpp::Logger to use

  • function – The functions return value determines if the message should be logged

  • ... – The format string, followed by the variable arguments for the format string.