Share via


HttpLoggingInterceptorContext.IsAnyEnabled(HttpLoggingFields) Method

Definition

Checks if any of the given fields are currently enabled in LoggingFields.

public bool IsAnyEnabled (Microsoft.AspNetCore.HttpLogging.HttpLoggingFields fields);
member this.IsAnyEnabled : Microsoft.AspNetCore.HttpLogging.HttpLoggingFields -> bool
Public Function IsAnyEnabled (fields As HttpLoggingFields) As Boolean

Parameters

fields
HttpLoggingFields

One or more field flags to check.

Returns

Applies to