Ask Your Question
1

[ROS2] How to enable spdlog logger?

asked 2019-12-06 15:38:46 -0500

madmax gravatar image

I know how to edit the logging format and logging level, but how to change the logger itself?

I was searching and trying with rclcpp::InitOptions options = rclcpp::InitOptions(); and rclcpp::init() but I couldn't find anything regarding changing the logger itself.

I think this would be a good addition to the ros2 tutorials also.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-15 14:36:11 -0500

madmax gravatar image

As of eloquent, the default logger is spdlog!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2019-12-06 15:38:46 -0500

Seen: 199 times

Last updated: Apr 15 '20