rclcpp  master
C++ ROS Client Library API
Classes | Namespaces | Macros | Functions
logger.hpp File Reference
#include <memory>
#include <string>
#include "rclcpp/visibility_control.hpp"
#include "rcl/node.h"
Include dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  rclcpp::Logger


 This header provides the get_node_base_interface() template function.




Logger rclcpp::get_logger (const std::string &name)
 Return a named logger. More...
Logger rclcpp::get_node_logger (const rcl_node_t *node)
 Return a named logger using an rcl_node_t. More...

Macro Definition Documentation



When this define evaluates to true (default), logger factory functions will behave normally. When false, logger factory functions will create dummy loggers to avoid computational expense in manipulating objects. This should be used in combination with RCLCPP_LOG_MIN_SEVERITY to compile out logging macros.