15 #ifndef RCLCPP__LOGGER_HPP_ 16 #define RCLCPP__LOGGER_HPP_ 33 #ifndef RCLCPP_LOGGING_ENABLED 34 #define RCLCPP_LOGGING_ENABLED 1 41 namespace node_interfaces
67 friend ::rclcpp::node_interfaces::NodeLogging;
103 return name_->c_str();
125 return Logger(*name_ +
"." + suffix);
131 #endif // RCLCPP__LOGGER_HPP_
Logger get_logger(const std::string &name)
Return a named logger.
Definition: allocator_common.hpp:24
Definition: logger.hpp:63
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
const char * get_name() const
Get the name of this logger.
Definition: logger.hpp:98
Logger get_child(const std::string &suffix)
Return a logger that is a descendant of this logger.
Definition: logger.hpp:120