Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 977 Bytes

loggingactivity_isenabled_826472551.md

File metadata and controls

28 lines (20 loc) · 977 Bytes
-api-id -api-type
M:Windows.Foundation.Diagnostics.LoggingActivity.IsEnabled(Windows.Foundation.Diagnostics.LoggingLevel)
winrt method

Windows.Foundation.Diagnostics.LoggingActivity.IsEnabled

-description

Indicates whether at least one session is listening for events with the specified event severity level from the channel associated with this activity.

-parameters

-param level

The event severity level.

-returns

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.

-remarks

This function is equivalent to LoggingChannel.IsEnabled(level).

-examples

-see-also

IsEnabled, IsEnabled(LoggingLevel, Int64)