How to add a singleton logger class to my package?
Hy all!
I am writing my thesis work in ROS. I have to implement a logger feature: the node must create a log file after every execution with the the specified data. ROS_INFO and other ros-based logging method is NOT GOOD. I want to write these informations to an output file.
I have an already written Singleton class from here.
What changes do I have to do in the CMakeList and package.xml file to work with this solution??
Or is there any chance to use ROS_INFO logging system to write to a SPECIFIED file??
Thanks in advance! Steve