title: How does Windows.Foundation.Diagnostics.FileLoggingSession work?
body: <p>I want to constantly write a continuing logfile that contains all messages raised. It sounds like FileLoggingSession is the right way to do so. How does it work? Is it saving the logfile internal or only when calling </p>
  
  <pre><code>fileLoggingSession.closeAndSaveToFileAsync().done();
  </code></pre>
  
  <p>?
  This is also closing the session so not suitable for my case. I want to append messages to the log file in realtime.</p>
  
  <p>Using Windows.Storage.FileIO.appendTextAsync with Promises doesn't work because to many messages are raised, so I'm getting an exception.</p>
  
  <p>Is FileLoggingSession suitable for this scenario and how do I access or save a file?</p>
  
  <p>Thanks in advance!</p>