Example #1
0
 public override void Flush()
 {
     lock (this)
     {
         // this is very expensive since it closes and reopens the log stream
         _writer.Sync();
     }
 }
Example #2
0
 public override void Flush()
 {
     writer.Sync();
 }