C# Class Serilog.Tests.Support.DelegatingSink

Inheritance: ILogEventSink
Afficher le fichier Open project: serilog/serilog Class Usage Examples

Méthodes publiques

Méthode Description
DelegatingSink ( Action write ) : System
Emit ( LogEvent logEvent ) : void
GetLogEvent ( Action writeAction ) : LogEvent

Method Details

DelegatingSink() public méthode

public DelegatingSink ( Action write ) : System
write Action
Résultat System

Emit() public méthode

public Emit ( LogEvent logEvent ) : void
logEvent Serilog.Events.LogEvent
Résultat void

GetLogEvent() public static méthode

public static GetLogEvent ( Action writeAction ) : LogEvent
writeAction Action
Résultat Serilog.Events.LogEvent