Compartilhar via


LogHelper.IsEnabled(EventLogLevel) Method

Definition

Gets whether logging is enabled at the specified EventLogLevel."/>

public static bool IsEnabled (Microsoft.IdentityModel.Abstractions.EventLogLevel level);
static member IsEnabled : Microsoft.IdentityModel.Abstractions.EventLogLevel -> bool
Public Shared Function IsEnabled (level As EventLogLevel) As Boolean

Parameters

level
EventLogLevel

The log level

Returns

true if logging is enabled at the specified level; otherwise, false.

Applies to