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

要启用的其他字段。

适用于