Define RCLCPP_LOGGING_ENABLED

Define Documentation

RCLCPP_LOGGING_ENABLED

When this define evaluates to true (default), logger factory functions will behave normally. When false, logger factory functions will create dummy loggers to avoid computational expense in manipulating objects. This should be used in combination with RCLCPP_LOG_MIN_SEVERITY to compile out logging macros.