Class NodeLoggingInterface

Inheritance Relationships

Derived Type

Class Documentation

class NodeLoggingInterface

Pure virtual interface class for the NodeLogging part of the Node API.

Subclassed by rclcpp::node_interfaces::NodeLogging

Public Functions

virtual ~NodeLoggingInterface() = default
virtual rclcpp::Logger get_logger() const = 0

Return the logger of the node.

Returns:

The logger of the node.

virtual const char *get_logger_name() const = 0

Return the logger name associated with the node.

Returns:

The logger name associated with the node.