Class EnhancedSourceContextShortEnricher
Implements
ILogEventEnricher
Namespace: Coree.NETStandard.Logging
Assembly: Coree.NETStandard.dll
Syntax
public class EnhancedSourceContextShortEnricher : ILogEventEnricher
Constructors
| Edit this page View SourceEnhancedSourceContextShortEnricher(bool, bool, bool)
Declaration
public EnhancedSourceContextShortEnricher(bool cutTTypes = true, bool removeDots = true, bool removeSuffixes = true)
Parameters
Type | Name | Description |
---|---|---|
bool | cutTTypes | |
bool | removeDots | |
bool | removeSuffixes |
Methods
| Edit this page View SourceEnrich(LogEvent, ILogEventPropertyFactory)
Enrich the log event.
Declaration
public void Enrich(LogEvent logEvent, ILogEventPropertyFactory propertyFactory)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | logEvent | The log event to enrich. |
ILogEventPropertyFactory | propertyFactory | Factory for creating new properties to add to the event. |
Implements
Serilog.Core.ILogEventEnricher