C# Class Serilog.Tests.Support.DelegatingSink

Inheritance: ILogEventSink
Exibir arquivo Open project: serilog/serilog Class Usage Examples

Public Methods

Method Description
DelegatingSink ( Action write ) : System
Emit ( LogEvent logEvent ) : void
GetLogEvent ( Action writeAction ) : LogEvent

Method Details

DelegatingSink() public method

public DelegatingSink ( Action write ) : System
write Action
return System

Emit() public method

public Emit ( LogEvent logEvent ) : void
logEvent Serilog.Events.LogEvent
return void

GetLogEvent() public static method

public static GetLogEvent ( Action writeAction ) : LogEvent
writeAction Action
return Serilog.Events.LogEvent