Quantcast
Channel: Questions in topic: "log"
Viewing all articles
Browse latest Browse all 235

Don't overwrite output_log.txt between runs

$
0
0
I'm looking for a way to keep the information in the output_log.txt file between runs of the application. As far as I can tell, Unity clears the file every time the application is started. This is what I'm trying to prevent. Right now I have a coroutine that copies the output_log.txt file to a folder every couple of seconds. The issue with this solution is that if a crash happens, the most important lines in outpot_log.txt from just before the application crashed probably won't be copied. So I'm looking for a solution or an improvement to the solution I already have. Any help would be appreciated!

Viewing all articles
Browse latest Browse all 235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>