Share via


HttpLoggingInterceptorContext.LoggingFields Property

Definition

Gets or sets which parts of the request and response to log.

public Microsoft.AspNetCore.HttpLogging.HttpLoggingFields LoggingFields { get; set; }
member this.LoggingFields : Microsoft.AspNetCore.HttpLogging.HttpLoggingFields with get, set
Public Property LoggingFields As HttpLoggingFields

Property Value

Remarks

This is pre-populated with the value from LoggingFields, LoggingFields, or WithHttpLogging<TBuilder>(TBuilder, HttpLoggingFields, Nullable<Int32>, Nullable<Int32>).

Applies to