HttpLoggingBuilderExtensions.UseHttpLogging(IApplicationBuilder) Metoda

Definice

Přidá middleware, který dokáže protokolovat požadavky a odpovědi 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

Parametry

app
IApplicationBuilder

Instance IApplicationBuilder , která tato metoda rozšiřuje.

Návraty

Hodnota IApplicationBuilder

Platí pro