共用方式為


HttpLoggingOptions.LoggingFields 屬性

定義

要記錄要求和回應的欄位。 預設為記錄要求和回應屬性和標頭。

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

屬性值

適用於