Bagikan melalui


HttpLoggingBuilderExtensions.UseHttpLogging(IApplicationBuilder) Metode

Definisi

Menambahkan middleware yang dapat mencatat permintaan dan respons 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

Parameter

app
IApplicationBuilder

Instans IApplicationBuilder yang diperluas metode ini.

Mengembalikan

IApplicationBuilder.

Berlaku untuk