15 #ifndef RCLCPP__LOGGER_HPP_ 16 #define RCLCPP__LOGGER_HPP_ 35 #ifndef RCLCPP_LOGGING_ENABLED 36 #define RCLCPP_LOGGING_ENABLED 1 43 namespace node_interfaces
81 friend ::rclcpp::node_interfaces::NodeLogging;
117 return name_->c_str();
139 return Logger(*name_ +
"." + suffix);
145 #endif // RCLCPP__LOGGER_HPP_ Definition: logger.hpp:77
Logger get_logger(const std::string &name)
Return a named logger.
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
const char * get_name() const
Get the name of this logger.
Definition: logger.hpp:112
Logger get_node_logger(const rcl_node_t *node)
Return a named logger using an rcl_node_t.
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Logger get_child(const std::string &suffix)
Return a logger that is a descendant of this logger.
Definition: logger.hpp:134