Freigeben über


HttpLoggingBuilderExtensions.UseHttpLogging(IApplicationBuilder) Methode

Definition

Fügt eine Middleware hinzu, die HTTP-Anforderungen und -Antworten protokollieren kann.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHttpLogging (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseHttpLogging : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseHttpLogging (app As IApplicationBuilder) As IApplicationBuilder

Parameter

app
IApplicationBuilder

Die IApplicationBuilder instance diese Methode erweitert.

Gibt zurück

Die IApplicationBuilder.

Gilt für: