Should log classes open/close a log file stream on each write to the log file or should it keep the log file stream open throughout the application\'s lifetime until all log
I can think of a couple reasons you don't want to hold the file open:
On the other hand, opening files can be slow, even in append mode. In the end, it comes to down to what your app is doing.