共用方式為


W3CLoggerOptions.LoggingFields 屬性

定義

要記錄的欄位。 預設為記錄要求和回應屬性和標頭,以及日期/時間資訊和伺服器名稱。

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

屬性值

適用於