Partager via


HttpLoggingBuilderExtensions.UseHttpLogging(IApplicationBuilder) Méthode

Définition

Ajoute un intergiciel qui peut journaliser les requêtes et les réponses HTTP.

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

Paramètres

app
IApplicationBuilder

La IApplicationBuilder instance cette méthode s’étend.

Retours

L’IApplicationBuilderopérateur

S’applique à