-api-id | -api-type |
---|---|
M:Windows.Foundation.Diagnostics.LoggingActivity.IsEnabled(Windows.Foundation.Diagnostics.LoggingLevel,System.Int64) |
winrt method |
Indicates whether at least one session is listening for events with the specified level and keywords from the channel associated with this activity.
The event severity level.
The keywords. Each bit of the keywords value represents an event category.
Returns true if at least one session is listening for events with the specified level and keywords from the channel associated with this activity, and otherwise false.
This function is equivalent to LoggingChannel.IsEnabled(level, keywords).