Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LoggerExtensions.IsEnabled Method (ILogger, TraceEventType)

 

Checks if the given TraceEventType is enabled.

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

public static bool IsEnabled(
	this ILogger logger,
	TraceEventType eventType
)

Return Value

Type: System.Boolean

Returns Boolean.

Return to top
Show: