General practice for writing application data to file at runtime
I'm running a ros2 application. I need to write some application data to file during the execution of my application. What is the general practice of doing this i.e. what folder do I write this to? Is it the log folder for the current session? If so, how do I determine the path to this folder at runtime through an API?