共用方式為


HttpLoggingInterceptorContext.Enable(HttpLoggingFields) 方法

定義

將指定的欄位新增至 中 LoggingFields 目前啟用的內容。

public void Enable (Microsoft.AspNetCore.HttpLogging.HttpLoggingFields fields);
member this.Enable : Microsoft.AspNetCore.HttpLogging.HttpLoggingFields -> unit
Public Sub Enable (fields As HttpLoggingFields)

參數

fields
HttpLoggingFields

要啟用的其他欄位。

適用於