Table of Contents

Interface ILogEventEnricher

Namespace
Serilog.Core
Assembly
Serilog.dll

Applied during logging to add additional information to log events.

public interface ILogEventEnricher

Methods

Enrich(LogEvent, ILogEventPropertyFactory)

Enrich the log event.

void Enrich(LogEvent logEvent, ILogEventPropertyFactory propertyFactory)

Parameters

logEvent LogEvent

The log event to enrich.

propertyFactory ILogEventPropertyFactory

Factory for creating new properties to add to the event.