LoggerExtensions.IsEnabled(ILogger, TraceEventType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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