共用方式為


HttpLoggingInterceptorContext.LoggingFields 屬性

定義

取得或設定要求和記錄回應的哪些部分。

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

屬性值

備註

這會預先填入 、 LoggingFieldsLoggingFieldsWithHttpLogging<TBuilder>(TBuilder, HttpLoggingFields, Nullable<Int32>, Nullable<Int32>) 的值。

適用於