Define RCUTILS_LOG_WARN_EXPRESSION

Define Documentation

RCUTILS_LOG_WARN_EXPRESSION(expression, ...)

Log a message with given severity with the following condition:

  • Log calls are ignored when the expression evaluates to false.

Note

The condition will only be evaluated if this logging statement is enabled.

Parameters:
  • expression[in] The expression determining if the message should be logged

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