For this reason, I added these to the app to automatically change and load the log file (by creating a Temp file)
The original file does not change the log and only creates a new modified file and erases it after Load
Because the next logs are added to the same log file, so the original file should not be changed
In most of the time or always the logs are saved as json line to line in the file As:
And when loading it in the app we have to manually turn it into a list of JSON As:
For this reason, I added these to the app to automatically change and load the log file (by creating a Temp file) The original file does not change the log and only creates a new modified file and erases it after Load Because the next logs are added to the same log file, so the original file should not be changed