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