Define RCLCPP_INFO_STREAM_EXPRESSION
Defined in File logging.hpp
Define Documentation
-
RCLCPP_INFO_STREAM_EXPRESSION(logger, expression, stream_arg)
Log a message with given severity with the following condition:
Log calls are being ignored when the expression evaluates to false.
- Parameters:
logger – The
rclcpp::Logger
to useexpression – The expression determining if the message should be logged
stream_arg – The argument << into a stringstream