C# 클래스 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.
The properties dictionary is copied, however the values within the dictionary (of type LogEventProperty are expected to be immutable.
상속: ILogEventSink, IDisposable
파일 보기 프로젝트 열기: serilog/serilog

공개 메소드들

메소드 설명
Dispose ( ) : void
Emit ( LogEvent logEvent ) : void
SecondaryLoggerSink ( ILogger logger, bool attemptDispose = false ) : System

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Emit() 공개 메소드

public Emit ( LogEvent logEvent ) : void
logEvent Serilog.Events.LogEvent
리턴 void

SecondaryLoggerSink() 공개 메소드

public SecondaryLoggerSink ( ILogger logger, bool attemptDispose = false ) : System
logger ILogger
attemptDispose bool
리턴 System