IHttpLogEnricher.Enrich(IEnrichmentTagCollector, HttpContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enrich logs.
public void Enrich(Microsoft.Extensions.Diagnostics.Enrichment.IEnrichmentTagCollector collector, Microsoft.AspNetCore.Http.HttpContext httpContext);
abstract member Enrich : Microsoft.Extensions.Diagnostics.Enrichment.IEnrichmentTagCollector * Microsoft.AspNetCore.Http.HttpContext -> unit
Public Sub Enrich (collector As IEnrichmentTagCollector, httpContext As HttpContext)
Parameters
- collector
- IEnrichmentTagCollector
Tag collector to add tags to.
- httpContext
- HttpContext
HttpContext object associated with the incoming HTTP request.