[ros-users] [Discourse.ros.org] [Next Generation ROS] What o…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: William Woodall via ros-users
Date:  
To: ros-users
CC: William Woodall
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] What of ROS2 is ROS_DEBUG of ROS1 equivalent to?


The equivalent is `RCLCPP_DEBUG(logger, ...)` where `logger` might come from your Node, like `node->get_logger()`, see:

http://docs.ros2.org/ardent/api/rclcpp/logging_8hpp.html#a44818c8a1fd292cd0e81759e956765d7

Also this might be of interest:

- https://github.com/ros2/ros2/wiki/Logging-and-logger-configuration
- https://github.com/ros2/ros2/wiki/Logging

In the future please ask questions like this on answers.ros.org and use the `ros2` tag. If you're feeling helpful, it would be nice if you asked the question there now and answered it again, so others on answers.ros.org can benefit.





---
[Visit Topic](https://discourse.ros.org/t/what-of-ros2-is-ros-debug-of-ros1-equivalent-to/4740/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>