Serilog.Sinks.File.PeriodicFlushToDiskSink public class PeriodicFlushToDiskSink : ILogEventSink, IDisposable A sink wrapper that periodically flushes the wrapped sink to disk. Documentation Code public PeriodicFlushToDiskSink(ILogEventSink sink, TimeSpan flushInterval) Construct a PeriodicFlushToDiskSink that wraps sink and flushes it at the specified flushInterval. public void Dispose() public void Emit(LogEvent logEvent)