Share via


HttpLoggingAttribute(HttpLoggingFields) Constructor

Definition

Initializes an instance of the HttpLoggingAttribute class.

public HttpLoggingAttribute (Microsoft.AspNetCore.HttpLogging.HttpLoggingFields loggingFields);
new Microsoft.AspNetCore.HttpLogging.HttpLoggingAttribute : Microsoft.AspNetCore.HttpLogging.HttpLoggingFields -> Microsoft.AspNetCore.HttpLogging.HttpLoggingAttribute
Public Sub New (loggingFields As HttpLoggingFields)

Parameters

loggingFields
HttpLoggingFields

Specifies what fields to log for the endpoint.

Applies to