rclcpp  master
C++ ROS Client Library API
Classes | Namespaces | Macros | Functions
logger.hpp File Reference
#include <memory>
#include <string>
#include "rclcpp/visibility_control.hpp"

Go to the source code of this file.

Classes

class  rclcpp::Logger
 

Namespaces

 rclcpp
 
 rclcpp::node_interfaces
 

Macros

#define RCLCPP_LOGGING_ENABLED   1
 

Functions

Logger rclcpp::get_logger (const std::string &name)
 Return a named logger. More...
 

Macro Definition Documentation

◆ RCLCPP_LOGGING_ENABLED

#define RCLCPP_LOGGING_ENABLED   1

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.