rcutils
master
C API providing common utilities and data structures.
|
Go to the source code of this file.
Macros | |
#define | RCUTILS_LOG_MIN_SEVERITY RCUTILS_LOG_SEVERITY_DEBUG |
#define | RCUTILS_LOG_COND_NAMED(severity, condition_before, condition_after, name, ...) |
#define | RCUTILS_LOG_CONDITION_EMPTY |
Macros for the `once` 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 `expression` 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 `skipfirst` 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 `throttle` condition which ignores log calls if the | |
last logged message is not longer ago than the specified duration. | |
#define | RCUTILS_LOG_CONDITION_THROTTLE_BEFORE(time_source_type, 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(time_source_type, duration, ...) |
#define | RCUTILS_LOG_DEBUG_SKIPFIRST_THROTTLE(time_source_type, duration, ...) |
#define | RCUTILS_LOG_DEBUG_THROTTLE_NAMED(time_source_type, duration, name, ...) |
#define | RCUTILS_LOG_DEBUG_SKIPFIRST_THROTTLE_NAMED(time_source_type, 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(time_source_type, duration, ...) |
#define | RCUTILS_LOG_INFO_SKIPFIRST_THROTTLE(time_source_type, duration, ...) |
#define | RCUTILS_LOG_INFO_THROTTLE_NAMED(time_source_type, duration, name, ...) |
#define | RCUTILS_LOG_INFO_SKIPFIRST_THROTTLE_NAMED(time_source_type, 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(time_source_type, duration, ...) |
#define | RCUTILS_LOG_WARN_SKIPFIRST_THROTTLE(time_source_type, duration, ...) |
#define | RCUTILS_LOG_WARN_THROTTLE_NAMED(time_source_type, duration, name, ...) |
#define | RCUTILS_LOG_WARN_SKIPFIRST_THROTTLE_NAMED(time_source_type, 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(time_source_type, duration, ...) |
#define | RCUTILS_LOG_ERROR_SKIPFIRST_THROTTLE(time_source_type, duration, ...) |
#define | RCUTILS_LOG_ERROR_THROTTLE_NAMED(time_source_type, duration, name, ...) |
#define | RCUTILS_LOG_ERROR_SKIPFIRST_THROTTLE_NAMED(time_source_type, 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(time_source_type, duration, ...) |
#define | RCUTILS_LOG_FATAL_SKIPFIRST_THROTTLE(time_source_type, duration, ...) |
#define | RCUTILS_LOG_FATAL_THROTTLE_NAMED(time_source_type, duration, name, ...) |
#define | RCUTILS_LOG_FATAL_SKIPFIRST_THROTTLE_NAMED(time_source_type, duration, name, ...) |
Macros for the `function` 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 RCUTILS_LOG_SEVERITY_DEBUG |
Define RCUTILS_LOG_MIN_SEVERITY=RCUTILS_LOG_SEVERITY_[DEBUG|INFO|WARN|ERROR|FATAL] in your build options to compile out anything below that severity.
#define RCUTILS_LOG_COND_NAMED | ( | severity, | |
condition_before, | |||
condition_after, | |||
name, | |||
... | |||
) |
The logging macro all other logging macros call directly or indirectly.
severity | The severity level |
condition_before | The condition macro(s) inserted before the log call |
condition_after | The condition macro(s) inserted after the log call |
name | The name of the logger |
... | 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 | ( | time_source_type, | |
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.
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_NAMED | ( | name, | |
... | |||
) |
Log a message with severity DEBUG.
name | The name of the logger |
... | 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: All subsequent log calls except the first one are being ignored.
... | 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: All subsequent log calls except the first one are being ignored.
name | The name of the logger |
... | 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: Log calls are being ignored when the expression evaluates to false.
expression | The expression determining if the message should be logged |
... | 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: Log calls are being ignored when the expression evaluates to false. All subsequent log calls except the first one are being ignored.
expression | The expression determining if the message should be logged |
name | The name of the logger |
... | 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: Log calls are being ignored when the function returns false.
function | The functions return value determines if the message should be logged |
... | 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: Log calls are being ignored when the function returns false. All subsequent log calls except the first one are being ignored.
function | The functions return value determines if the message should be logged |
name | The name of the logger |
... | 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: The first log call is being ignored but all subsequent calls are being processed.
... | 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: The first log call is being ignored but all subsequent calls are being processed.
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_THROTTLE | ( | time_source_type, | |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_SKIPFIRST_THROTTLE | ( | time_source_type, | |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_THROTTLE_NAMED | ( | time_source_type, | |
duration, | |||
name, | |||
... | |||
) |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_DEBUG_SKIPFIRST_THROTTLE_NAMED | ( | time_source_type, | |
duration, | |||
name, | |||
... | |||
) |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO | ( | ... | ) |
Log a message with severity INFO.
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_NAMED | ( | name, | |
... | |||
) |
Log a message with severity INFO.
name | The name of the logger |
... | 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: All subsequent log calls except the first one are being ignored.
... | 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: All subsequent log calls except the first one are being ignored.
name | The name of the logger |
... | 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: Log calls are being ignored when the expression evaluates to false.
expression | The expression determining if the message should be logged |
... | 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: Log calls are being ignored when the expression evaluates to false. All subsequent log calls except the first one are being ignored.
expression | The expression determining if the message should be logged |
name | The name of the logger |
... | 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: Log calls are being ignored when the function returns false.
function | The functions return value determines if the message should be logged |
... | 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: Log calls are being ignored when the function returns false. All subsequent log calls except the first one are being ignored.
function | The functions return value determines if the message should be logged |
name | The name of the logger |
... | 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: The first log call is being ignored but all subsequent calls are being processed.
... | 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: The first log call is being ignored but all subsequent calls are being processed.
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_THROTTLE | ( | time_source_type, | |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_SKIPFIRST_THROTTLE | ( | time_source_type, | |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_THROTTLE_NAMED | ( | time_source_type, | |
duration, | |||
name, | |||
... | |||
) |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_INFO_SKIPFIRST_THROTTLE_NAMED | ( | time_source_type, | |
duration, | |||
name, | |||
... | |||
) |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN | ( | ... | ) |
Log a message with severity WARN.
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_NAMED | ( | name, | |
... | |||
) |
Log a message with severity WARN.
name | The name of the logger |
... | 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: All subsequent log calls except the first one are being ignored.
... | 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: All subsequent log calls except the first one are being ignored.
name | The name of the logger |
... | 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: Log calls are being ignored when the expression evaluates to false.
expression | The expression determining if the message should be logged |
... | 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: Log calls are being ignored when the expression evaluates to false. All subsequent log calls except the first one are being ignored.
expression | The expression determining if the message should be logged |
name | The name of the logger |
... | 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: Log calls are being ignored when the function returns false.
function | The functions return value determines if the message should be logged |
... | 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: Log calls are being ignored when the function returns false. All subsequent log calls except the first one are being ignored.
function | The functions return value determines if the message should be logged |
name | The name of the logger |
... | 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: The first log call is being ignored but all subsequent calls are being processed.
... | 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: The first log call is being ignored but all subsequent calls are being processed.
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_THROTTLE | ( | time_source_type, | |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_SKIPFIRST_THROTTLE | ( | time_source_type, | |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_THROTTLE_NAMED | ( | time_source_type, | |
duration, | |||
name, | |||
... | |||
) |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_WARN_SKIPFIRST_THROTTLE_NAMED | ( | time_source_type, | |
duration, | |||
name, | |||
... | |||
) |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR | ( | ... | ) |
Log a message with severity ERROR.
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_NAMED | ( | name, | |
... | |||
) |
Log a message with severity ERROR.
name | The name of the logger |
... | 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: All subsequent log calls except the first one are being ignored.
... | 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: All subsequent log calls except the first one are being ignored.
name | The name of the logger |
... | 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: Log calls are being ignored when the expression evaluates to false.
expression | The expression determining if the message should be logged |
... | 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: Log calls are being ignored when the expression evaluates to false. All subsequent log calls except the first one are being ignored.
expression | The expression determining if the message should be logged |
name | The name of the logger |
... | 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: Log calls are being ignored when the function returns false.
function | The functions return value determines if the message should be logged |
... | 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: Log calls are being ignored when the function returns false. All subsequent log calls except the first one are being ignored.
function | The functions return value determines if the message should be logged |
name | The name of the logger |
... | 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: The first log call is being ignored but all subsequent calls are being processed.
... | 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: The first log call is being ignored but all subsequent calls are being processed.
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_THROTTLE | ( | time_source_type, | |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_SKIPFIRST_THROTTLE | ( | time_source_type, | |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_THROTTLE_NAMED | ( | time_source_type, | |
duration, | |||
name, | |||
... | |||
) |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_ERROR_SKIPFIRST_THROTTLE_NAMED | ( | time_source_type, | |
duration, | |||
name, | |||
... | |||
) |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL | ( | ... | ) |
Log a message with severity FATAL.
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_NAMED | ( | name, | |
... | |||
) |
Log a message with severity FATAL.
name | The name of the logger |
... | 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: All subsequent log calls except the first one are being ignored.
... | 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: All subsequent log calls except the first one are being ignored.
name | The name of the logger |
... | 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: Log calls are being ignored when the expression evaluates to false.
expression | The expression determining if the message should be logged |
... | 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: Log calls are being ignored when the expression evaluates to false. All subsequent log calls except the first one are being ignored.
expression | The expression determining if the message should be logged |
name | The name of the logger |
... | 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: Log calls are being ignored when the function returns false.
function | The functions return value determines if the message should be logged |
... | 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: Log calls are being ignored when the function returns false. All subsequent log calls except the first one are being ignored.
function | The functions return value determines if the message should be logged |
name | The name of the logger |
... | 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: The first log call is being ignored but all subsequent calls are being processed.
... | 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: The first log call is being ignored but all subsequent calls are being processed.
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_THROTTLE | ( | time_source_type, | |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_SKIPFIRST_THROTTLE | ( | time_source_type, | |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_THROTTLE_NAMED | ( | time_source_type, | |
duration, | |||
name, | |||
... | |||
) |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
#define RCUTILS_LOG_FATAL_SKIPFIRST_THROTTLE_NAMED | ( | time_source_type, | |
duration, | |||
name, | |||
... | |||
) |
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.
time_source_type | The time source type of the time to be used |
duration | The duration of the throttle interval |
name | The name of the logger |
... | The format string, followed by the variable arguments for the format string |
typedef bool(* RclLogFilter) () |
The filter function signature.