Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- logger
Type: Microsoft.Owin.Logging.ILogger
- eventType
Type: System.Diagnostics.TraceEventType
Return Value
Type: System.Boolean
Returns Boolean.
See Also
LoggerExtensions Class
Microsoft.Owin.Logging Namespace
Return to top