Define RCUTILS_LOG_FATAL_EXPRESSION_NAMED

Define Documentation

RCUTILS_LOG_FATAL_EXPRESSION_NAMED(expression, name, ...)

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

  • name[in] The name of the logger

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