rclcpp
master
C++ ROS Client Library API
|
#include <type_traits>
#include "rclcpp/logger.hpp"
#include "rcutils/logging_macros.h"
#include "rclcpp/utilities.hpp"
Go to the source code of this file.
Macros | |
#define | RCLCPP_LOG_MIN_SEVERITY_DEBUG 0 |
#define | RCLCPP_LOG_MIN_SEVERITY_INFO 1 |
#define | RCLCPP_LOG_MIN_SEVERITY_WARN 2 |
#define | RCLCPP_LOG_MIN_SEVERITY_ERROR 3 |
#define | RCLCPP_LOG_MIN_SEVERITY_FATAL 4 |
#define | RCLCPP_LOG_MIN_SEVERITY_NONE 5 |
#define | RCLCPP_FIRST_ARG(N, ...) N |
#define | RCLCPP_ALL_BUT_FIRST_ARGS(N, ...) __VA_ARGS__ |
#define | RCLCPP_LOG_MIN_SEVERITY RCLCPP_LOG_MIN_SEVERITY_DEBUG |
Logging macros for severity DEBUG. | |
#define | RCLCPP_DEBUG(logger, ...) |
#define | RCLCPP_DEBUG_ONCE(logger, ...) |
#define | RCLCPP_DEBUG_EXPRESSION(logger, expression, ...) |
#define | RCLCPP_DEBUG_FUNCTION(logger, function, ...) |
#define | RCLCPP_DEBUG_SKIPFIRST(logger, ...) |
#define | RCLCPP_DEBUG_THROTTLE(logger, clock, duration, ...) |
#define | RCLCPP_DEBUG_SKIPFIRST_THROTTLE(logger, clock, duration, ...) |
#define | RCLCPP_DEBUG_STREAM(logger, stream_arg) |
#define | RCLCPP_DEBUG_STREAM_ONCE(logger, stream_arg) |
#define | RCLCPP_DEBUG_STREAM_EXPRESSION(logger, expression, stream_arg) |
#define | RCLCPP_DEBUG_STREAM_FUNCTION(logger, function, stream_arg) |
#define | RCLCPP_DEBUG_STREAM_SKIPFIRST(logger, stream_arg) |
#define | RCLCPP_DEBUG_STREAM_THROTTLE(logger, clock, duration, stream_arg) |
#define | RCLCPP_DEBUG_STREAM_SKIPFIRST_THROTTLE(logger, clock, duration, stream_arg) |
Logging macros for severity INFO. | |
#define | RCLCPP_INFO(logger, ...) |
#define | RCLCPP_INFO_ONCE(logger, ...) |
#define | RCLCPP_INFO_EXPRESSION(logger, expression, ...) |
#define | RCLCPP_INFO_FUNCTION(logger, function, ...) |
#define | RCLCPP_INFO_SKIPFIRST(logger, ...) |
#define | RCLCPP_INFO_THROTTLE(logger, clock, duration, ...) |
#define | RCLCPP_INFO_SKIPFIRST_THROTTLE(logger, clock, duration, ...) |
#define | RCLCPP_INFO_STREAM(logger, stream_arg) |
#define | RCLCPP_INFO_STREAM_ONCE(logger, stream_arg) |
#define | RCLCPP_INFO_STREAM_EXPRESSION(logger, expression, stream_arg) |
#define | RCLCPP_INFO_STREAM_FUNCTION(logger, function, stream_arg) |
#define | RCLCPP_INFO_STREAM_SKIPFIRST(logger, stream_arg) |
#define | RCLCPP_INFO_STREAM_THROTTLE(logger, clock, duration, stream_arg) |
#define | RCLCPP_INFO_STREAM_SKIPFIRST_THROTTLE(logger, clock, duration, stream_arg) |
Logging macros for severity WARN. | |
#define | RCLCPP_WARN(logger, ...) |
#define | RCLCPP_WARN_ONCE(logger, ...) |
#define | RCLCPP_WARN_EXPRESSION(logger, expression, ...) |
#define | RCLCPP_WARN_FUNCTION(logger, function, ...) |
#define | RCLCPP_WARN_SKIPFIRST(logger, ...) |
#define | RCLCPP_WARN_THROTTLE(logger, clock, duration, ...) |
#define | RCLCPP_WARN_SKIPFIRST_THROTTLE(logger, clock, duration, ...) |
#define | RCLCPP_WARN_STREAM(logger, stream_arg) |
#define | RCLCPP_WARN_STREAM_ONCE(logger, stream_arg) |
#define | RCLCPP_WARN_STREAM_EXPRESSION(logger, expression, stream_arg) |
#define | RCLCPP_WARN_STREAM_FUNCTION(logger, function, stream_arg) |
#define | RCLCPP_WARN_STREAM_SKIPFIRST(logger, stream_arg) |
#define | RCLCPP_WARN_STREAM_THROTTLE(logger, clock, duration, stream_arg) |
#define | RCLCPP_WARN_STREAM_SKIPFIRST_THROTTLE(logger, clock, duration, stream_arg) |
Logging macros for severity ERROR. | |
#define | RCLCPP_ERROR(logger, ...) |
#define | RCLCPP_ERROR_ONCE(logger, ...) |
#define | RCLCPP_ERROR_EXPRESSION(logger, expression, ...) |
#define | RCLCPP_ERROR_FUNCTION(logger, function, ...) |
#define | RCLCPP_ERROR_SKIPFIRST(logger, ...) |
#define | RCLCPP_ERROR_THROTTLE(logger, clock, duration, ...) |
#define | RCLCPP_ERROR_SKIPFIRST_THROTTLE(logger, clock, duration, ...) |
#define | RCLCPP_ERROR_STREAM(logger, stream_arg) |
#define | RCLCPP_ERROR_STREAM_ONCE(logger, stream_arg) |
#define | RCLCPP_ERROR_STREAM_EXPRESSION(logger, expression, stream_arg) |
#define | RCLCPP_ERROR_STREAM_FUNCTION(logger, function, stream_arg) |
#define | RCLCPP_ERROR_STREAM_SKIPFIRST(logger, stream_arg) |
#define | RCLCPP_ERROR_STREAM_THROTTLE(logger, clock, duration, stream_arg) |
#define | RCLCPP_ERROR_STREAM_SKIPFIRST_THROTTLE(logger, clock, duration, stream_arg) |
Logging macros for severity FATAL. | |
#define | RCLCPP_FATAL(logger, ...) |
#define | RCLCPP_FATAL_ONCE(logger, ...) |
#define | RCLCPP_FATAL_EXPRESSION(logger, expression, ...) |
#define | RCLCPP_FATAL_FUNCTION(logger, function, ...) |
#define | RCLCPP_FATAL_SKIPFIRST(logger, ...) |
#define | RCLCPP_FATAL_THROTTLE(logger, clock, duration, ...) |
#define | RCLCPP_FATAL_SKIPFIRST_THROTTLE(logger, clock, duration, ...) |
#define | RCLCPP_FATAL_STREAM(logger, stream_arg) |
#define | RCLCPP_FATAL_STREAM_ONCE(logger, stream_arg) |
#define | RCLCPP_FATAL_STREAM_EXPRESSION(logger, expression, stream_arg) |
#define | RCLCPP_FATAL_STREAM_FUNCTION(logger, function, stream_arg) |
#define | RCLCPP_FATAL_STREAM_SKIPFIRST(logger, stream_arg) |
#define | RCLCPP_FATAL_STREAM_THROTTLE(logger, clock, duration, stream_arg) |
#define | RCLCPP_FATAL_STREAM_SKIPFIRST_THROTTLE(logger, clock, duration, stream_arg) |
#define RCLCPP_LOG_MIN_SEVERITY_DEBUG 0 |
#define RCLCPP_LOG_MIN_SEVERITY_INFO 1 |
#define RCLCPP_LOG_MIN_SEVERITY_WARN 2 |
#define RCLCPP_LOG_MIN_SEVERITY_ERROR 3 |
#define RCLCPP_LOG_MIN_SEVERITY_FATAL 4 |
#define RCLCPP_LOG_MIN_SEVERITY_NONE 5 |
#define RCLCPP_FIRST_ARG | ( | N, | |
... | |||
) | N |
#define RCLCPP_ALL_BUT_FIRST_ARGS | ( | N, | |
... | |||
) | __VA_ARGS__ |
#define RCLCPP_LOG_MIN_SEVERITY RCLCPP_LOG_MIN_SEVERITY_DEBUG |
Define RCLCPP_LOG_MIN_SEVERITY=RCLCPP_LOG_MIN_SEVERITY_[DEBUG|INFO|WARN|ERROR|FATAL] in your build options to compile out anything below that severity. Use RCLCPP_LOG_MIN_SEVERITY_NONE to compile out all macros.
#define RCLCPP_DEBUG | ( | logger, | |
... | |||
) |
Log a message with severity DEBUG.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_DEBUG_ONCE | ( | logger, | |
... | |||
) |
Log a message with severity DEBUG with the following conditions: All subsequent log calls except the first one are being ignored.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_DEBUG_EXPRESSION | ( | logger, | |
expression, | |||
... | |||
) |
Log a message with severity DEBUG with the following conditions: Log calls are being ignored when the expression evaluates to false.
logger | The rclcpp::Logger to use |
expression | The expression determining if the message should be logged |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_DEBUG_FUNCTION | ( | logger, | |
function, | |||
... | |||
) |
Log a message with severity DEBUG with the following conditions: Log calls are being ignored when the function returns false.
logger | The rclcpp::Logger to use |
function | The functions return value determines if the message should be logged |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_DEBUG_SKIPFIRST | ( | logger, | |
... | |||
) |
Log a message with severity DEBUG with the following conditions: The first log call is being ignored but all subsequent calls are being processed.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_DEBUG_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
... | |||
) |
Log a message with severity DEBUG with the following conditions: Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_DEBUG_SKIPFIRST_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
... | |||
) |
Log a message with severity DEBUG with the following conditions: The first log call is being ignored but all subsequent calls are being processed. Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_DEBUG_STREAM | ( | logger, | |
stream_arg | |||
) |
Log a message with severity DEBUG.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_DEBUG_STREAM_ONCE | ( | logger, | |
stream_arg | |||
) |
Log a message with severity DEBUG with the following conditions: All subsequent log calls except the first one are being ignored.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_DEBUG_STREAM_EXPRESSION | ( | logger, | |
expression, | |||
stream_arg | |||
) |
Log a message with severity DEBUG with the following conditions: Log calls are being ignored when the expression evaluates to false.
logger | The rclcpp::Logger to use |
expression | The expression determining if the message should be logged |
stream_arg | The argument << into a stringstream |
#define RCLCPP_DEBUG_STREAM_FUNCTION | ( | logger, | |
function, | |||
stream_arg | |||
) |
Log a message with severity DEBUG with the following conditions: Log calls are being ignored when the function returns false.
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 |
#define RCLCPP_DEBUG_STREAM_SKIPFIRST | ( | logger, | |
stream_arg | |||
) |
Log a message with severity DEBUG with the following conditions: The first log call is being ignored but all subsequent calls are being processed.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_DEBUG_STREAM_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
stream_arg | |||
) |
Log a message with severity DEBUG with the following conditions: Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
stream_arg | The argument << into a stringstream |
#define RCLCPP_DEBUG_STREAM_SKIPFIRST_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
stream_arg | |||
) |
Log a message with severity DEBUG with the following conditions: The first log call is being ignored but all subsequent calls are being processed. Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
stream_arg | The argument << into a stringstream |
#define RCLCPP_INFO | ( | logger, | |
... | |||
) |
Log a message with severity INFO.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_INFO_ONCE | ( | logger, | |
... | |||
) |
Log a message with severity INFO with the following conditions: All subsequent log calls except the first one are being ignored.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_INFO_EXPRESSION | ( | logger, | |
expression, | |||
... | |||
) |
Log a message with severity INFO with the following conditions: Log calls are being ignored when the expression evaluates to false.
logger | The rclcpp::Logger to use |
expression | The expression determining if the message should be logged |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_INFO_FUNCTION | ( | logger, | |
function, | |||
... | |||
) |
Log a message with severity INFO with the following conditions: Log calls are being ignored when the function returns false.
logger | The rclcpp::Logger to use |
function | The functions return value determines if the message should be logged |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_INFO_SKIPFIRST | ( | logger, | |
... | |||
) |
Log a message with severity INFO with the following conditions: The first log call is being ignored but all subsequent calls are being processed.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_INFO_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
... | |||
) |
Log a message with severity INFO with the following conditions: Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_INFO_SKIPFIRST_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
... | |||
) |
Log a message with severity INFO with the following conditions: The first log call is being ignored but all subsequent calls are being processed. Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_INFO_STREAM | ( | logger, | |
stream_arg | |||
) |
Log a message with severity INFO.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_INFO_STREAM_ONCE | ( | logger, | |
stream_arg | |||
) |
Log a message with severity INFO with the following conditions: All subsequent log calls except the first one are being ignored.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_INFO_STREAM_EXPRESSION | ( | logger, | |
expression, | |||
stream_arg | |||
) |
Log a message with severity INFO with the following conditions: Log calls are being ignored when the expression evaluates to false.
logger | The rclcpp::Logger to use |
expression | The expression determining if the message should be logged |
stream_arg | The argument << into a stringstream |
#define RCLCPP_INFO_STREAM_FUNCTION | ( | logger, | |
function, | |||
stream_arg | |||
) |
Log a message with severity INFO with the following conditions: Log calls are being ignored when the function returns false.
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 |
#define RCLCPP_INFO_STREAM_SKIPFIRST | ( | logger, | |
stream_arg | |||
) |
Log a message with severity INFO with the following conditions: The first log call is being ignored but all subsequent calls are being processed.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_INFO_STREAM_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
stream_arg | |||
) |
Log a message with severity INFO with the following conditions: Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
stream_arg | The argument << into a stringstream |
#define RCLCPP_INFO_STREAM_SKIPFIRST_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
stream_arg | |||
) |
Log a message with severity INFO with the following conditions: The first log call is being ignored but all subsequent calls are being processed. Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
stream_arg | The argument << into a stringstream |
#define RCLCPP_WARN | ( | logger, | |
... | |||
) |
Log a message with severity WARN.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_WARN_ONCE | ( | logger, | |
... | |||
) |
Log a message with severity WARN with the following conditions: All subsequent log calls except the first one are being ignored.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_WARN_EXPRESSION | ( | logger, | |
expression, | |||
... | |||
) |
Log a message with severity WARN with the following conditions: Log calls are being ignored when the expression evaluates to false.
logger | The rclcpp::Logger to use |
expression | The expression determining if the message should be logged |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_WARN_FUNCTION | ( | logger, | |
function, | |||
... | |||
) |
Log a message with severity WARN with the following conditions: Log calls are being ignored when the function returns false.
logger | The rclcpp::Logger to use |
function | The functions return value determines if the message should be logged |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_WARN_SKIPFIRST | ( | logger, | |
... | |||
) |
Log a message with severity WARN with the following conditions: The first log call is being ignored but all subsequent calls are being processed.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_WARN_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
... | |||
) |
Log a message with severity WARN with the following conditions: Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_WARN_SKIPFIRST_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
... | |||
) |
Log a message with severity WARN with the following conditions: The first log call is being ignored but all subsequent calls are being processed. Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_WARN_STREAM | ( | logger, | |
stream_arg | |||
) |
Log a message with severity WARN.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_WARN_STREAM_ONCE | ( | logger, | |
stream_arg | |||
) |
Log a message with severity WARN with the following conditions: All subsequent log calls except the first one are being ignored.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_WARN_STREAM_EXPRESSION | ( | logger, | |
expression, | |||
stream_arg | |||
) |
Log a message with severity WARN with the following conditions: Log calls are being ignored when the expression evaluates to false.
logger | The rclcpp::Logger to use |
expression | The expression determining if the message should be logged |
stream_arg | The argument << into a stringstream |
#define RCLCPP_WARN_STREAM_FUNCTION | ( | logger, | |
function, | |||
stream_arg | |||
) |
Log a message with severity WARN with the following conditions: Log calls are being ignored when the function returns false.
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 |
#define RCLCPP_WARN_STREAM_SKIPFIRST | ( | logger, | |
stream_arg | |||
) |
Log a message with severity WARN with the following conditions: The first log call is being ignored but all subsequent calls are being processed.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_WARN_STREAM_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
stream_arg | |||
) |
Log a message with severity WARN with the following conditions: Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
stream_arg | The argument << into a stringstream |
#define RCLCPP_WARN_STREAM_SKIPFIRST_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
stream_arg | |||
) |
Log a message with severity WARN with the following conditions: The first log call is being ignored but all subsequent calls are being processed. Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
stream_arg | The argument << into a stringstream |
#define RCLCPP_ERROR | ( | logger, | |
... | |||
) |
Log a message with severity ERROR.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_ERROR_ONCE | ( | logger, | |
... | |||
) |
Log a message with severity ERROR with the following conditions: All subsequent log calls except the first one are being ignored.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_ERROR_EXPRESSION | ( | logger, | |
expression, | |||
... | |||
) |
Log a message with severity ERROR with the following conditions: Log calls are being ignored when the expression evaluates to false.
logger | The rclcpp::Logger to use |
expression | The expression determining if the message should be logged |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_ERROR_FUNCTION | ( | logger, | |
function, | |||
... | |||
) |
Log a message with severity ERROR with the following conditions: Log calls are being ignored when the function returns false.
logger | The rclcpp::Logger to use |
function | The functions return value determines if the message should be logged |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_ERROR_SKIPFIRST | ( | logger, | |
... | |||
) |
Log a message with severity ERROR with the following conditions: The first log call is being ignored but all subsequent calls are being processed.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_ERROR_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
... | |||
) |
Log a message with severity ERROR with the following conditions: Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_ERROR_SKIPFIRST_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
... | |||
) |
Log a message with severity ERROR with the following conditions: The first log call is being ignored but all subsequent calls are being processed. Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_ERROR_STREAM | ( | logger, | |
stream_arg | |||
) |
Log a message with severity ERROR.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_ERROR_STREAM_ONCE | ( | logger, | |
stream_arg | |||
) |
Log a message with severity ERROR with the following conditions: All subsequent log calls except the first one are being ignored.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_ERROR_STREAM_EXPRESSION | ( | logger, | |
expression, | |||
stream_arg | |||
) |
Log a message with severity ERROR with the following conditions: Log calls are being ignored when the expression evaluates to false.
logger | The rclcpp::Logger to use |
expression | The expression determining if the message should be logged |
stream_arg | The argument << into a stringstream |
#define RCLCPP_ERROR_STREAM_FUNCTION | ( | logger, | |
function, | |||
stream_arg | |||
) |
Log a message with severity ERROR with the following conditions: Log calls are being ignored when the function returns false.
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 |
#define RCLCPP_ERROR_STREAM_SKIPFIRST | ( | logger, | |
stream_arg | |||
) |
Log a message with severity ERROR with the following conditions: The first log call is being ignored but all subsequent calls are being processed.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_ERROR_STREAM_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
stream_arg | |||
) |
Log a message with severity ERROR with the following conditions: Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
stream_arg | The argument << into a stringstream |
#define RCLCPP_ERROR_STREAM_SKIPFIRST_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
stream_arg | |||
) |
Log a message with severity ERROR with the following conditions: The first log call is being ignored but all subsequent calls are being processed. Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
stream_arg | The argument << into a stringstream |
#define RCLCPP_FATAL | ( | logger, | |
... | |||
) |
Log a message with severity FATAL.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_FATAL_ONCE | ( | logger, | |
... | |||
) |
Log a message with severity FATAL with the following conditions: All subsequent log calls except the first one are being ignored.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_FATAL_EXPRESSION | ( | logger, | |
expression, | |||
... | |||
) |
Log a message with severity FATAL with the following conditions: Log calls are being ignored when the expression evaluates to false.
logger | The rclcpp::Logger to use |
expression | The expression determining if the message should be logged |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_FATAL_FUNCTION | ( | logger, | |
function, | |||
... | |||
) |
Log a message with severity FATAL with the following conditions: Log calls are being ignored when the function returns false.
logger | The rclcpp::Logger to use |
function | The functions return value determines if the message should be logged |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_FATAL_SKIPFIRST | ( | logger, | |
... | |||
) |
Log a message with severity FATAL with the following conditions: The first log call is being ignored but all subsequent calls are being processed.
logger | The rclcpp::Logger to use |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_FATAL_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
... | |||
) |
Log a message with severity FATAL with the following conditions: Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_FATAL_SKIPFIRST_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
... | |||
) |
Log a message with severity FATAL with the following conditions: The first log call is being ignored but all subsequent calls are being processed. Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string. It also accepts a single argument of type std::string. |
#define RCLCPP_FATAL_STREAM | ( | logger, | |
stream_arg | |||
) |
Log a message with severity FATAL.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_FATAL_STREAM_ONCE | ( | logger, | |
stream_arg | |||
) |
Log a message with severity FATAL with the following conditions: All subsequent log calls except the first one are being ignored.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_FATAL_STREAM_EXPRESSION | ( | logger, | |
expression, | |||
stream_arg | |||
) |
Log a message with severity FATAL with the following conditions: Log calls are being ignored when the expression evaluates to false.
logger | The rclcpp::Logger to use |
expression | The expression determining if the message should be logged |
stream_arg | The argument << into a stringstream |
#define RCLCPP_FATAL_STREAM_FUNCTION | ( | logger, | |
function, | |||
stream_arg | |||
) |
Log a message with severity FATAL with the following conditions: Log calls are being ignored when the function returns false.
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 |
#define RCLCPP_FATAL_STREAM_SKIPFIRST | ( | logger, | |
stream_arg | |||
) |
Log a message with severity FATAL with the following conditions: The first log call is being ignored but all subsequent calls are being processed.
logger | The rclcpp::Logger to use |
stream_arg | The argument << into a stringstream |
#define RCLCPP_FATAL_STREAM_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
stream_arg | |||
) |
Log a message with severity FATAL with the following conditions: Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
stream_arg | The argument << into a stringstream |
#define RCLCPP_FATAL_STREAM_SKIPFIRST_THROTTLE | ( | logger, | |
clock, | |||
duration, | |||
stream_arg | |||
) |
Log a message with severity FATAL with the following conditions: The first log call is being ignored but all subsequent calls are being processed. Log calls are being ignored if the last logged message is not longer ago than the specified duration.
logger | The rclcpp::Logger to use |
clock | rclcpp::Clock that will be used to get the time point. |
duration | The duration of the throttle interval |
stream_arg | The argument << into a stringstream |