IHttpLogEnricher.Enrich 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.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.