|
|
| Logger (NodeInterfaces node) |
| | Construct from node like object with the required interfaces.
|
| void | set_level (Level level) |
| | Set output level of the stored logger.
|
| template<typename... Args> |
| void | debug (std::format_string< Args... > fmt, Args &&... args) |
| | Log at the debug specified in the name.
|
| template<typename... Args> |
| void | info (std::format_string< Args... > fmt, Args &&... args) |
| | Log at the info specified in the name.
|
| template<typename... Args> |
| void | warning (std::format_string< Args... > fmt, Args &&... args) |
| | Log at the warning specified in the name.
|
| template<typename... Args> |
| void | error (std::format_string< Args... > fmt, Args &&... args) |
| | Log at the error specified in the name.
|
| template<typename... Args> |
| void | fatal (std::format_string< Args... > fmt, Args &&... args) |
| | Log at the fatal specified in the name.
|
| template<auto LocTag = MRS_LIB_LOGGER_UNIQUE_TAG, typename... Args> |
| void | debug_once (std::format_string< Args... > fmt, Args &&... args) |
| | Log once at the debug specified in the name.
|
| template<auto LocTag = MRS_LIB_LOGGER_UNIQUE_TAG, typename... Args> |
| void | info_once (std::format_string< Args... > fmt, Args &&... args) |
| | Log once at the info specified in the name.
|
| template<auto LocTag = MRS_LIB_LOGGER_UNIQUE_TAG, typename... Args> |
| void | warning_once (std::format_string< Args... > fmt, Args &&... args) |
| | Log once at the warning specified in the name.
|
| template<auto LocTag = MRS_LIB_LOGGER_UNIQUE_TAG, typename... Args> |
| void | error_once (std::format_string< Args... > fmt, Args &&... args) |
| | Log once at the error specified in the name.
|
| template<auto LocTag = MRS_LIB_LOGGER_UNIQUE_TAG, typename... Args> |
| void | fatal_once (std::format_string< Args... > fmt, Args &&... args) |
| | Log once at the fatal specified in the name.
|
| template<auto LocTag = MRS_LIB_LOGGER_UNIQUE_TAG, typename... Args> |
| void | debug_throttle (std::chrono::milliseconds duration, std::format_string< Args... > fmt, Args &&... args) |
| | Log at the debug specified in the name with a maximum rate.
|
| template<auto LocTag = MRS_LIB_LOGGER_UNIQUE_TAG, typename... Args> |
| void | info_throttle (std::chrono::milliseconds duration, std::format_string< Args... > fmt, Args &&... args) |
| | Log at the info specified in the name with a maximum rate.
|
| template<auto LocTag = MRS_LIB_LOGGER_UNIQUE_TAG, typename... Args> |
| void | warning_throttle (std::chrono::milliseconds duration, std::format_string< Args... > fmt, Args &&... args) |
| | Log at the warning specified in the name with a maximum rate.
|
| template<auto LocTag = MRS_LIB_LOGGER_UNIQUE_TAG, typename... Args> |
| void | error_throttle (std::chrono::milliseconds duration, std::format_string< Args... > fmt, Args &&... args) |
| | Log at the error specified in the name with a maximum rate.
|
| template<auto LocTag = MRS_LIB_LOGGER_UNIQUE_TAG, typename... Args> |
| void | fatal_throttle (std::chrono::milliseconds duration, std::format_string< Args... > fmt, Args &&... args) |
| | Log at the fatal specified in the name with a maximum rate.
|
Wrapper for rclcpp::Logger with formatting using std::format.
This wrapper can be used to wrap rclcpp::Logger and call log functions without using the rclcpp macros.
The log methods use std::format to format the messages. This allows adding formatting for custom types by specializing the std::formatter struct.