Bagikan melalui


HttpLoggingBuilderExtensions.UseW3CLogging(IApplicationBuilder) Metode

Definisi

Menambahkan middleware yang dapat mencatat permintaan dan respons HTTP untuk log server dalam format W3C.

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

Parameter

app
IApplicationBuilder

Instans IApplicationBuilder yang diperluas metode ini.

Mengembalikan

IApplicationBuilder.

Berlaku untuk