Class CollectingSink
Inheritance
CollectingSink
Assembly: Volo.Abp.AspNetCore.Serilog.Tests.dll
Syntax
public class CollectingSink : ILogEventSink
Constructors
CollectingSink()
Declaration
Properties
Events
Declaration
public List<LogEvent> Events { get; }
Property Value
Type |
Description |
List<LogEvent> |
|
SingleEvent
Declaration
public LogEvent SingleEvent { get; }
Property Value
Type |
Description |
LogEvent |
|
Methods
Emit(LogEvent)
Declaration
public void Emit(LogEvent logEvent)
Parameters
Type |
Name |
Description |
LogEvent |
logEvent |
|
Implements
Serilog.Core.ILogEventSink
Extension Methods