Serilog.Core.Sinks.SecondaryLoggerSink
Forwards log events to another logging pipeline. Copies the events so
that mutations performed on the copies do not affect the originals.
namespace Serilog.Core.Sinks
{
internal sealed class SecondaryLoggerSink : ILogEventSink, IDisposable, IAsyncDisposable
{
public SecondaryLoggerSink(ILogger logger, bool attemptDispose = false);
public void Emit(LogEvent logEvent);
public void Dispose();
public ValueTask DisposeAsync();
}
}