Serilog.Core.Sinks.RestrictedSink sealed class RestrictedSink : ILogEventSink, IDisposable Documentation Code public RestrictedSink(ILogEventSink sink, LoggingLevelSwitch levelSwitch) public void Dispose() public void Emit(LogEvent logEvent)