LoggingChannel.LoggingEnabled | loggingenabled event

Applies to Windows and Windows Phone

Raised when the logging channel is attached to a LoggingSession or other event tracing and debugging tools.

Syntax


function onLoggingEnabled(eventArgs) { /* Your code */ }
 
// addEventListener syntax
loggingChannel.addEventListener("loggingenabled", onLoggingEnabled);
loggingChannel.removeEventListener("loggingenabled", onLoggingEnabled);
 
- or -

loggingChannel.onloggingenabled = onLoggingEnabled;


Event information

Delegate TypedEventHandler<ILoggingChannel, Object>

Remarks

The LoggingEnabled event is raised when a channel is consumed by a session within the app's process, or by a kernel-mode ETW session started with a debugging or performance analysis tool.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Foundation.Diagnostics
Windows::Foundation::Diagnostics [C++]

Metadata

Windows.winmd

See also

LoggingChannel
LoggingSession

 

 

Show:
© 2014 Microsoft