After I train a custom environment I want to log the actions, rewards and a few additional parameters to see how the rewards are distributed in the environment.
Which of the following methods would be the best for logging?
Log to csv from inside the environment
Create a log environment wrapper derived from my custom environment
Add logging to the render function of the environment
Other method ?
The offline API output does not help very much because I need to add some additional parameters to log.
- Medium: It contributes to significant difficulty to complete my task, but I can work around it.