Dela via


HttpLoggingBuilderExtensions.UseW3CLogging(IApplicationBuilder) Method

Definition

Adds a middleware that can log HTTP requests and responses for server logs in W3C format.

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

Parameters

app
IApplicationBuilder

The IApplicationBuilder instance this method extends.

Returns

The IApplicationBuilder.

Applies to