Skip to content

rclcpp: Logging

Changing the logging level

#include <rclcpp/logger.hpp>

rclcpp::get_logger("nav2_costmap_2d").set_level(rclcpp::Logger::Level::Debug);