示例#1
0
 /// <summary>
 /// Waits asynchronously until all currently buffered log events are actually written to their log files.
 /// </summary>
 /// <exception cref="FileLogException">Unable to flush events to at least one of the files.</exception>
 public static Task FlushAllAsync() => DefaultMuxer.FlushAsync();
 public void FlushAsync_should_return_immediately_if_there_is_no_registration()
 {
     muxer.FlushAsync().IsCompleted.Should().BeTrue();
 }