rcutils
master
C API providing common utilities and data structures.
|
Go to the source code of this file.
Macros | |
#define | RCUTILS_LOG_MIN_SEVERITY_DEBUG 0 |
#define | RCUTILS_LOG_MIN_SEVERITY_INFO 1 |
#define | RCUTILS_LOG_MIN_SEVERITY_WARN 2 |
#define | RCUTILS_LOG_MIN_SEVERITY_ERROR 3 |
#define | RCUTILS_LOG_MIN_SEVERITY_FATAL 4 |
#define | RCUTILS_LOG_MIN_SEVERITY_NONE 5 |
#define | RCUTILS_LOG_MIN_SEVERITY RCUTILS_LOG_MIN_SEVERITY_DEBUG |
#define | RCUTILS_LOG_COND_NAMED(severity, condition_before, condition_after, name, ...) |
#define | RCUTILS_LOG_CONDITION_EMPTY |
Macros for the <tt>once</tt> condition which ignores all subsequent log | |
calls except the first one. | |
#define | RCUTILS_LOG_CONDITION_ONCE_BEFORE |
#define | RCUTILS_LOG_CONDITION_ONCE_AFTER |
Macros for the <tt>expression</tt> condition which ignores the log calls | |
when the expression evaluates to false. | |
#define | RCUTILS_LOG_CONDITION_EXPRESSION_BEFORE(expression) if (expression) { |
#define | RCUTILS_LOG_CONDITION_EXPRESSION_AFTER } |
Macros for the <tt>skipfirst</tt> condition which ignores the first log | |
call but processes all subsequent calls. | |
#define | RCUTILS_LOG_CONDITION_SKIPFIRST_BEFORE |
#define | RCUTILS_LOG_CONDITION_SKIPFIRST_AFTER |
Macros for the <tt>throttle</tt> condition which ignores log calls if the | |
last logged message is not longer ago than the specified duration. | |
#define | RCUTILS_LOG_CONDITION_THROTTLE_BEFORE(get_time_point_value, duration) |
#define | RCUTILS_LOG_CONDITION_THROTTLE_AFTER |
Logging macros for severity DEBUG. | |
#define | RCUTILS_LOG_DEBUG(...) |
#define | RCUTILS_LOG_DEBUG_NAMED(name, ...) |
#define | RCUTILS_LOG_DEBUG_ONCE(...) |
#define | RCUTILS_LOG_DEBUG_ONCE_NAMED(name, ...) |
#define | RCUTILS_LOG_DEBUG_EXPRESSION(expression, ...) |
#define | RCUTILS_LOG_DEBUG_EXPRESSION_NAMED(expression, name, ...) |
#define | RCUTILS_LOG_DEBUG_FUNCTION(function, ...) |
#define | RCUTILS_LOG_DEBUG_FUNCTION_NAMED(function, name, ...) |
#define | RCUTILS_LOG_DEBUG_SKIPFIRST(...) |
#define | RCUTILS_LOG_DEBUG_SKIPFIRST_NAMED(name, ...) |
#define | RCUTILS_LOG_DEBUG_THROTTLE(get_time_point_value, duration, ...) |
#define | RCUTILS_LOG_DEBUG_SKIPFIRST_THROTTLE(get_time_point_value, duration, ...) |
#define | RCUTILS_LOG_DEBUG_THROTTLE_NAMED(get_time_point_value, duration, name, ...) |
#define | RCUTILS_LOG_DEBUG_SKIPFIRST_THROTTLE_NAMED(get_time_point_value, duration, name, ...) |
Logging macros for severity INFO. | |
#define | RCUTILS_LOG_INFO(...) |
#define | RCUTILS_LOG_INFO_NAMED(name, ...) |
#define | RCUTILS_LOG_INFO_ONCE(...) |
#define | RCUTILS_LOG_INFO_ONCE_NAMED(name, ...) |
#define | RCUTILS_LOG_INFO_EXPRESSION(expression, ...) |
#define | RCUTILS_LOG_INFO_EXPRESSION_NAMED(expression, name, ...) |
#define | RCUTILS_LOG_INFO_FUNCTION(function, ...) |
#define | RCUTILS_LOG_INFO_FUNCTION_NAMED(function, name, ...) |
#define | RCUTILS_LOG_INFO_SKIPFIRST(...) |
#define | RCUTILS_LOG_INFO_SKIPFIRST_NAMED(name, ...) |
#define | RCUTILS_LOG_INFO_THROTTLE(get_time_point_value, duration, ...) |
#define | RCUTILS_LOG_INFO_SKIPFIRST_THROTTLE(get_time_point_value, duration, ...) |
#define | RCUTILS_LOG_INFO_THROTTLE_NAMED(get_time_point_value, duration, name, ...) |
#define | RCUTILS_LOG_INFO_SKIPFIRST_THROTTLE_NAMED(get_time_point_value, duration, name, ...) |
Logging macros for severity WARN. | |
#define | RCUTILS_LOG_WARN(...) |
#define | RCUTILS_LOG_WARN_NAMED(name, ...) |
#define | RCUTILS_LOG_WARN_ONCE(...) |
#define | RCUTILS_LOG_WARN_ONCE_NAMED(name, ...) |
#define | RCUTILS_LOG_WARN_EXPRESSION(expression, ...) |
#define | RCUTILS_LOG_WARN_EXPRESSION_NAMED(expression, name, ...) |
#define | RCUTILS_LOG_WARN_FUNCTION(function, ...) |
#define | RCUTILS_LOG_WARN_FUNCTION_NAMED(function, name, ...) |
#define | RCUTILS_LOG_WARN_SKIPFIRST(...) |
#define | RCUTILS_LOG_WARN_SKIPFIRST_NAMED(name, ...) |
#define | RCUTILS_LOG_WARN_THROTTLE(get_time_point_value, duration, ...) |
#define | RCUTILS_LOG_WARN_SKIPFIRST_THROTTLE(get_time_point_value, duration, ...) |
#define | RCUTILS_LOG_WARN_THROTTLE_NAMED(get_time_point_value, duration, name, ...) |
#define | RCUTILS_LOG_WARN_SKIPFIRST_THROTTLE_NAMED(get_time_point_value, duration, name, ...) |
Logging macros for severity ERROR. | |
#define | RCUTILS_LOG_ERROR(...) |
#define | RCUTILS_LOG_ERROR_NAMED(name, ...) |
#define | RCUTILS_LOG_ERROR_ONCE(...) |
#define | RCUTILS_LOG_ERROR_ONCE_NAMED(name, ...) |
#define | RCUTILS_LOG_ERROR_EXPRESSION(expression, ...) |
#define | RCUTILS_LOG_ERROR_EXPRESSION_NAMED(expression, name, ...) |
#define | RCUTILS_LOG_ERROR_FUNCTION(function, ...) |
#define | RCUTILS_LOG_ERROR_FUNCTION_NAMED(function, name, ...) |
#define | RCUTILS_LOG_ERROR_SKIPFIRST(...) |
#define | RCUTILS_LOG_ERROR_SKIPFIRST_NAMED(name, ...) |
#define | RCUTILS_LOG_ERROR_THROTTLE(get_time_point_value, duration, ...) |
#define | RCUTILS_LOG_ERROR_SKIPFIRST_THROTTLE(get_time_point_value, duration, ...) |
#define | RCUTILS_LOG_ERROR_THROTTLE_NAMED(get_time_point_value, duration, name, ...) |
#define | RCUTILS_LOG_ERROR_SKIPFIRST_THROTTLE_NAMED(get_time_point_value, duration, name, ...) |
Logging macros for severity FATAL. | |
#define | RCUTILS_LOG_FATAL(...) |
#define | RCUTILS_LOG_FATAL_NAMED(name, ...) |
#define | RCUTILS_LOG_FATAL_ONCE(...) |
#define | RCUTILS_LOG_FATAL_ONCE_NAMED(name, ...) |
#define | RCUTILS_LOG_FATAL_EXPRESSION(expression, ...) |
#define | RCUTILS_LOG_FATAL_EXPRESSION_NAMED(expression, name, ...) |
#define | RCUTILS_LOG_FATAL_FUNCTION(function, ...) |
#define | RCUTILS_LOG_FATAL_FUNCTION_NAMED(function, name, ...) |
#define | RCUTILS_LOG_FATAL_SKIPFIRST(...) |
#define | RCUTILS_LOG_FATAL_SKIPFIRST_NAMED(name, ...) |
#define | RCUTILS_LOG_FATAL_THROTTLE(get_time_point_value, duration, ...) |
#define | RCUTILS_LOG_FATAL_SKIPFIRST_THROTTLE(get_time_point_value, duration, ...) |
#define | RCUTILS_LOG_FATAL_THROTTLE_NAMED(get_time_point_value, duration, name, ...) |
#define | RCUTILS_LOG_FATAL_SKIPFIRST_THROTTLE_NAMED(get_time_point_value, duration, name, ...) |
Macros for the <tt>function</tt> condition which ignores the log calls | |
#define | RCUTILS_LOG_CONDITION_FUNCTION_BEFORE(function) if ((*function)()) { |
#define | RCUTILS_LOG_CONDITION_FUNCTION_AFTER } |
typedef bool(* | RclLogFilter) () |
#define RCUTILS_LOG_MIN_SEVERITY_DEBUG 0 |
#define RCUTILS_LOG_MIN_SEVERITY_INFO 1 |
#define RCUTILS_LOG_MIN_SEVERITY_WARN 2 |
#define RCUTILS_LOG_MIN_SEVERITY_ERROR 3 |
#define RCUTILS_LOG_MIN_SEVERITY_FATAL 4 |
#define RCUTILS_LOG_MIN_SEVERITY_NONE 5 |
#define RCUTILS_LOG_MIN_SEVERITY RCUTILS_LOG_MIN_SEVERITY_DEBUG |
Define RCUTILS_LOG_MIN_SEVERITY=RCUTILS_LOG_MIN_SEVERITY_[DEBUG|INFO|WARN|ERROR|FATAL] in your build options to compile out anything below that severity. Use RCUTILS_LOG_MIN_SEVERITY_NONE to compile out all macros.
#define RCUTILS_LOG_COND_NAMED | ( | severity, | |
condition_before, | |||
condition_after, | |||
name, | |||
... | |||
) |
The logging macro all other logging macros call directly or indirectly.
[in] | severity | The severity level |
[in] | condition_before | The condition macro(s) inserted before the log call |
[in] | condition_after | The condition macro(s) inserted after the log call |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_CONDITION_EMPTY |
An empty macro which can be used as a placeholder for condition_before
and condition_after
which doesn't affect the logging call.
#define RCUTILS_LOG_CONDITION_ONCE_BEFORE |
A macro initializing and checking the once
condition.
#define RCUTILS_LOG_CONDITION_ONCE_AFTER |
A macro finalizing the once
condition.
#define RCUTILS_LOG_CONDITION_EXPRESSION_BEFORE | ( | expression | ) | if (expression) { |
A macro checking the expression
condition.
#define RCUTILS_LOG_CONDITION_EXPRESSION_AFTER } |
A macro finalizing the expression
condition.
#define RCUTILS_LOG_CONDITION_FUNCTION_BEFORE | ( | function | ) | if ((*function)()) { |
A macro checking the function
condition.
#define RCUTILS_LOG_CONDITION_FUNCTION_AFTER } |
A macro finalizing the function
condition.
#define RCUTILS_LOG_CONDITION_SKIPFIRST_BEFORE |
A macro initializing and checking the skipfirst
condition.
#define RCUTILS_LOG_CONDITION_SKIPFIRST_AFTER |
A macro finalizing the skipfirst
condition.
#define RCUTILS_LOG_CONDITION_THROTTLE_BEFORE | ( | get_time_point_value, | |
duration | |||
) |
A macro initializing and checking the throttle
condition.
#define RCUTILS_LOG_CONDITION_THROTTLE_AFTER |
A macro finalizing the throttle
condition.
#define RCUTILS_LOG_DEBUG | ( | ... | ) |
Log a message with severity DEBUG.
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_NAMED | ( | name, | |
... | |||
) |
Log a message with severity DEBUG.
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_ONCE | ( | ... | ) |
Log a message with severity DEBUG with the following conditions:
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_ONCE_NAMED | ( | name, | |
... | |||
) |
Log a message with severity DEBUG with the following conditions:
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_EXPRESSION | ( | expression, | |
... | |||
) |
Log a message with severity DEBUG with the following conditions:
[in] | expression | The expression determining if the message should be logged |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_EXPRESSION_NAMED | ( | expression, | |
name, | |||
... | |||
) |
Log a message with severity DEBUG with the following conditions:
[in] | expression | The expression determining if the message should be logged |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_FUNCTION | ( | function, | |
... | |||
) |
Log a message with severity DEBUG with the following conditions:
[in] | function | The functions return value determines if the message should be logged |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_FUNCTION_NAMED | ( | function, | |
name, | |||
... | |||
) |
Log a message with severity DEBUG with the following conditions:
[in] | function | The functions return value determines if the message should be logged |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_SKIPFIRST | ( | ... | ) |
Log a message with severity DEBUG with the following conditions:
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_SKIPFIRST_NAMED | ( | name, | |
... | |||
) |
Log a message with severity DEBUG with the following conditions:
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_THROTTLE | ( | get_time_point_value, | |
duration, | |||
... | |||
) |
Log a message with severity DEBUG with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_SKIPFIRST_THROTTLE | ( | get_time_point_value, | |
duration, | |||
... | |||
) |
Log a message with severity DEBUG with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_THROTTLE_NAMED | ( | get_time_point_value, | |
duration, | |||
name, | |||
... | |||
) |
Log a message with severity DEBUG with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_SKIPFIRST_THROTTLE_NAMED | ( | get_time_point_value, | |
duration, | |||
name, | |||
... | |||
) |
Log a message with severity DEBUG with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO | ( | ... | ) |
Log a message with severity INFO.
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_NAMED | ( | name, | |
... | |||
) |
Log a message with severity INFO.
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_ONCE | ( | ... | ) |
Log a message with severity INFO with the following conditions:
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_ONCE_NAMED | ( | name, | |
... | |||
) |
Log a message with severity INFO with the following conditions:
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_EXPRESSION | ( | expression, | |
... | |||
) |
Log a message with severity INFO with the following conditions:
[in] | expression | The expression determining if the message should be logged |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_EXPRESSION_NAMED | ( | expression, | |
name, | |||
... | |||
) |
Log a message with severity INFO with the following conditions:
[in] | expression | The expression determining if the message should be logged |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_FUNCTION | ( | function, | |
... | |||
) |
Log a message with severity INFO with the following conditions:
[in] | function | The functions return value determines if the message should be logged |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_FUNCTION_NAMED | ( | function, | |
name, | |||
... | |||
) |
Log a message with severity INFO with the following conditions:
[in] | function | The functions return value determines if the message should be logged |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_SKIPFIRST | ( | ... | ) |
Log a message with severity INFO with the following conditions:
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_SKIPFIRST_NAMED | ( | name, | |
... | |||
) |
Log a message with severity INFO with the following conditions:
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_THROTTLE | ( | get_time_point_value, | |
duration, | |||
... | |||
) |
Log a message with severity INFO with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_SKIPFIRST_THROTTLE | ( | get_time_point_value, | |
duration, | |||
... | |||
) |
Log a message with severity INFO with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_THROTTLE_NAMED | ( | get_time_point_value, | |
duration, | |||
name, | |||
... | |||
) |
Log a message with severity INFO with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_SKIPFIRST_THROTTLE_NAMED | ( | get_time_point_value, | |
duration, | |||
name, | |||
... | |||
) |
Log a message with severity INFO with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN | ( | ... | ) |
Log a message with severity WARN.
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_NAMED | ( | name, | |
... | |||
) |
Log a message with severity WARN.
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_ONCE | ( | ... | ) |
Log a message with severity WARN with the following conditions:
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_ONCE_NAMED | ( | name, | |
... | |||
) |
Log a message with severity WARN with the following conditions:
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_EXPRESSION | ( | expression, | |
... | |||
) |
Log a message with severity WARN with the following conditions:
[in] | expression | The expression determining if the message should be logged |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_EXPRESSION_NAMED | ( | expression, | |
name, | |||
... | |||
) |
Log a message with severity WARN with the following conditions:
[in] | expression | The expression determining if the message should be logged |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_FUNCTION | ( | function, | |
... | |||
) |
Log a message with severity WARN with the following conditions:
[in] | function | The functions return value determines if the message should be logged |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_FUNCTION_NAMED | ( | function, | |
name, | |||
... | |||
) |
Log a message with severity WARN with the following conditions:
[in] | function | The functions return value determines if the message should be logged |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_SKIPFIRST | ( | ... | ) |
Log a message with severity WARN with the following conditions:
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_SKIPFIRST_NAMED | ( | name, | |
... | |||
) |
Log a message with severity WARN with the following conditions:
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_THROTTLE | ( | get_time_point_value, | |
duration, | |||
... | |||
) |
Log a message with severity WARN with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_SKIPFIRST_THROTTLE | ( | get_time_point_value, | |
duration, | |||
... | |||
) |
Log a message with severity WARN with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_THROTTLE_NAMED | ( | get_time_point_value, | |
duration, | |||
name, | |||
... | |||
) |
Log a message with severity WARN with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_SKIPFIRST_THROTTLE_NAMED | ( | get_time_point_value, | |
duration, | |||
name, | |||
... | |||
) |
Log a message with severity WARN with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR | ( | ... | ) |
Log a message with severity ERROR.
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_NAMED | ( | name, | |
... | |||
) |
Log a message with severity ERROR.
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_ONCE | ( | ... | ) |
Log a message with severity ERROR with the following conditions:
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_ONCE_NAMED | ( | name, | |
... | |||
) |
Log a message with severity ERROR with the following conditions:
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_EXPRESSION | ( | expression, | |
... | |||
) |
Log a message with severity ERROR with the following conditions:
[in] | expression | The expression determining if the message should be logged |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_EXPRESSION_NAMED | ( | expression, | |
name, | |||
... | |||
) |
Log a message with severity ERROR with the following conditions:
[in] | expression | The expression determining if the message should be logged |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_FUNCTION | ( | function, | |
... | |||
) |
Log a message with severity ERROR with the following conditions:
[in] | function | The functions return value determines if the message should be logged |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_FUNCTION_NAMED | ( | function, | |
name, | |||
... | |||
) |
Log a message with severity ERROR with the following conditions:
[in] | function | The functions return value determines if the message should be logged |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_SKIPFIRST | ( | ... | ) |
Log a message with severity ERROR with the following conditions:
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_SKIPFIRST_NAMED | ( | name, | |
... | |||
) |
Log a message with severity ERROR with the following conditions:
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_THROTTLE | ( | get_time_point_value, | |
duration, | |||
... | |||
) |
Log a message with severity ERROR with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_SKIPFIRST_THROTTLE | ( | get_time_point_value, | |
duration, | |||
... | |||
) |
Log a message with severity ERROR with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_THROTTLE_NAMED | ( | get_time_point_value, | |
duration, | |||
name, | |||
... | |||
) |
Log a message with severity ERROR with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_SKIPFIRST_THROTTLE_NAMED | ( | get_time_point_value, | |
duration, | |||
name, | |||
... | |||
) |
Log a message with severity ERROR with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL | ( | ... | ) |
Log a message with severity FATAL.
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_NAMED | ( | name, | |
... | |||
) |
Log a message with severity FATAL.
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_ONCE | ( | ... | ) |
Log a message with severity FATAL with the following conditions:
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_ONCE_NAMED | ( | name, | |
... | |||
) |
Log a message with severity FATAL with the following conditions:
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_EXPRESSION | ( | expression, | |
... | |||
) |
Log a message with severity FATAL with the following conditions:
[in] | expression | The expression determining if the message should be logged |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_EXPRESSION_NAMED | ( | expression, | |
name, | |||
... | |||
) |
Log a message with severity FATAL with the following conditions:
[in] | expression | The expression determining if the message should be logged |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_FUNCTION | ( | function, | |
... | |||
) |
Log a message with severity FATAL with the following conditions:
[in] | function | The functions return value determines if the message should be logged |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_FUNCTION_NAMED | ( | function, | |
name, | |||
... | |||
) |
Log a message with severity FATAL with the following conditions:
[in] | function | The functions return value determines if the message should be logged |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_SKIPFIRST | ( | ... | ) |
Log a message with severity FATAL with the following conditions:
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_SKIPFIRST_NAMED | ( | name, | |
... | |||
) |
Log a message with severity FATAL with the following conditions:
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_THROTTLE | ( | get_time_point_value, | |
duration, | |||
... | |||
) |
Log a message with severity FATAL with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_SKIPFIRST_THROTTLE | ( | get_time_point_value, | |
duration, | |||
... | |||
) |
Log a message with severity FATAL with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_THROTTLE_NAMED | ( | get_time_point_value, | |
duration, | |||
name, | |||
... | |||
) |
Log a message with severity FATAL with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_SKIPFIRST_THROTTLE_NAMED | ( | get_time_point_value, | |
duration, | |||
name, | |||
... | |||
) |
Log a message with severity FATAL with the following conditions:
[in] | get_time_point_value | Function that returns rcutils_ret_t and expects a rcutils_time_point_value_t pointer. |
[in] | duration | The duration of the throttle interval |
[in] | name | The name of the logger |
[in] | ... | The format string, followed by the variable arguments for the format string |
typedef bool(* RclLogFilter) () |
The filter function signature.