I'm using the Tinylog library with the "rolling file" function to write logs to a file. Sometimes I need to clear a file.
Tried to do it with normal Java methods but it breaks the file and makes it hard to read. Is there a way to clear the log file at any point so it doesn't break?