title: Should log file streams be opened/closed on each write or kept open during a desktop application's lifetime?
body: <p>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 logging is complete?  </p>
  
  <p>I'm asking in context of a desktop application.  I have seen people do it both ways and was wondering which approach yields the best all-around results for a logger.</p>