Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.1 KB

loggingactivity_isenabled_1519006295.md

File metadata and controls

31 lines (22 loc) · 1.1 KB
-api-id -api-type
M:Windows.Foundation.Diagnostics.LoggingActivity.IsEnabled(Windows.Foundation.Diagnostics.LoggingLevel,System.Int64)
winrt method

Windows.Foundation.Diagnostics.LoggingActivity.IsEnabled

-description

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

-parameters

-param level

The event severity level.

-param keywords

The keywords. Each bit of the keywords value represents an event category.

-returns

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.

-remarks

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

-examples

-see-also

IsEnabled, IsEnabled(LoggingLevel)