Logging in Library
I'm currently working on a library that will be used within ROS nodes. Since the library is ros-agnostic, I'm not sure how to include logging in a way that would interface with rosconsole when run within ros nodes and stdout for other usecases.
Is there an intended/easy way to do this?
ROS 2 comes with logging functionality and is the easiest to use, IMHO. I am just wondering why you are reinventing the wheel.
As he writes he try to get an ros agnostic lib.