Wednesday, 23 November 2022

Save console output in txt file as it happens

I want to save my console output in a text file, but I want it to be as it happens so that if the programm crashes, logs will be saved. Do you have some ideas ?

I can't just specify file in logger because I have a lot of different loggers that are printing into the console.



from Save console output in txt file as it happens

No comments:

Post a Comment