Define RCLCPP_FATAL_STREAM_FUNCTION

Define Documentation

RCLCPP_FATAL_STREAM_FUNCTION(logger, function, stream_arg)

Log a message with given severity with the following condition:

  • Log calls are being 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

  • stream_arg – The argument << into a stringstream