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>)中的值。

适用于