Exemple #1
0
 /// <summary>
 /// Writes the messages to the fallback writer, if one is set.
 /// </summary>
 /// <param name="msgs">The messages to be written.</param>
 private void FallbackWrite(params string[] msgs)
 {
     if (fallbackWriter != null)
     {
         foreach (var msg in msgs)
         {
             fallbackWriter.Write(msg);
         }
         fallbackWriter.Flush();
     }
 }
Exemple #2
0
 void TimeOut()
 {
     writer.Flush();
 }
Exemple #3
0
 /// <summary>
 /// Flush the log writer.
 /// </summary>
 public void Flush()
 {
     _logWriter.Flush();
 }