Save logs in .csv instead of using tensorboard

Has anyone tried to save loss per step in both training and validation in a csv or txt or whatever you want instead of using tensorboard? I’d like to check how my training is going using a REST API taht reads that data.
Thanks!