Sdílet prostřednictvím


HttpLoggingInterceptorContext.Enable(HttpLoggingFields) Metoda

Definice

Přidá daná pole k aktuálně povoleným polím v nástroji LoggingFields.

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

Parametry

fields
HttpLoggingFields

Další pole, která chcete povolit.

Platí pro