Class HttpContextLogEventEnricher
Inheritance
System.Object
HttpContextLogEventEnricher
Namespace:InfinniPlatform.ServiceHost
Assembly:InfinniPlatform.ServiceHost.dll
Syntax
public class HttpContextLogEventEnricher : ILogEventEnricher
Constructors
| Improve this Doc View SourceHttpContextLogEventEnricher(IHttpContextAccessor)
Declaration
public HttpContextLogEventEnricher(IHttpContextAccessor httpContextAccessor)
Parameters
Type | Name | Description |
---|---|---|
IHttpContextAccessor | httpContextAccessor |
Methods
| Improve this Doc View SourceEnrich(LogEvent, ILogEventPropertyFactory)
Declaration
public void Enrich(LogEvent logEvent, ILogEventPropertyFactory propertyFactory)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | logEvent | |
ILogEventPropertyFactory | propertyFactory |