LoggerExtensions.IsEnabled(ILogger, TraceEventType) Method

Definition

Checks if the given TraceEventType is enabled.

public static bool IsEnabled (this Microsoft.Owin.Logging.ILogger logger, System.Diagnostics.TraceEventType eventType);
static member IsEnabled : Microsoft.Owin.Logging.ILogger * System.Diagnostics.TraceEventType -> bool
<Extension()>
Public Function IsEnabled (logger As ILogger, eventType As TraceEventType) As Boolean

Parameters

logger
ILogger
eventType
TraceEventType

Returns

Applies to