Share via


IHttpLogEnricher.Enrich Method

Definition

Enrich logs.

public void Enrich (Microsoft.Extensions.Diagnostics.Enrichment.IEnrichmentTagCollector collector, Microsoft.AspNetCore.Http.HttpRequest request, Microsoft.AspNetCore.Http.HttpResponse response);
abstract member Enrich : Microsoft.Extensions.Diagnostics.Enrichment.IEnrichmentTagCollector * Microsoft.AspNetCore.Http.HttpRequest * Microsoft.AspNetCore.Http.HttpResponse -> unit
Public Sub Enrich (collector As IEnrichmentTagCollector, request As HttpRequest, response As HttpResponse)

Parameters

collector
IEnrichmentTagCollector

Tag collector to add tags to.

request
HttpRequest

HttpResponse object associated with the incoming HTTP request.

response
HttpResponse

HttpResponse object associated with the response to an incoming HTTP request.

Applies to