HttpLoggingBuilderExtensions.UseHttpLogging(IApplicationBuilder) Method

Definition

Adds a middleware that can log HTTP requests and responses.

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

Parameters

app
IApplicationBuilder

The IApplicationBuilder instance this method extends.

Returns

The IApplicationBuilder.

Applies to