Share via


LoggerExtensions.IsEnabled Method (ILogger, TraceEventType)

 

Checks if the given TraceEventType is enabled.

Namespace:   Microsoft.Owin.Logging
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

public static bool IsEnabled(
    this ILogger logger,
    TraceEventType eventType
)
public:
[ExtensionAttribute]
static bool IsEnabled(
    ILogger^ logger,
    TraceEventType eventType
)
static member IsEnabled : 
        logger:ILogger *
        eventType:TraceEventType -> bool
<ExtensionAttribute>
Public Shared Function IsEnabled (
    logger As ILogger,
    eventType As TraceEventType
) As Boolean

Parameters

Return Value

Type: System.Boolean

Returns Boolean.

See Also

LoggerExtensions Class
Microsoft.Owin.Logging Namespace

Return to top