Windows.Foundation.Diagnostics namespace

Applies to Windows and Windows Phone

Provides classes for logging messages and tracing events.

Members

The Windows.Foundation.Diagnostics namespace has these types of members:

Classes

The Windows.Foundation.Diagnostics namespace has these classes.

ClassDescription
AsyncCausalityTracer Enables tracing control flow across asynchronous operations.
FileLoggingSession Represents the destination of logged messages from LoggingChannel instances.
LogFileGeneratedEventArgs Provides data for the LogFileGenerated event.
LoggingActivity Represents a logging trace on a LoggingChannel.
LoggingChannel Represents a source of log messages.
LoggingSession Represents the destination of logged messages from LoggingChannel instances.
RuntimeBrokerErrorSettings Represents diagnostic error reporting settings.
TracingStatusChangedEventArgs Provides data for the TracingStatusChanged event.

 

Enumerations

The Windows.Foundation.Diagnostics namespace has these enumerations.

EnumerationDescription
CausalityRelation Tracks ways that synchronous work items may interact with asynchronous operations.
CausalitySource Provides flags that listeners use to filter tracing events.
CausalitySynchronousWork Indicates the relationship between a work item and an asynchronous operation.
CausalityTraceLevel Specifies a logging level that listeners can use for trace filtering.
ErrorOptions Specifies the type of diagnostic error reporting for a thread.
LoggingLevel Specifies the level of detail in a LoggingChannel.

 

Interfaces

The Windows.Foundation.Diagnostics namespace defines these interfaces.

InterfaceDescription
IErrorReportingSettings Represents diagnostic error reporting settings.
IFileLoggingSession Represents the destination of logged messages from LoggingChannel instances.
ILoggingChannel Represents a source of log messages.
ILoggingSession Represents the destination of logged messages from LoggingChannel instances.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

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

 

 

Show:
© 2014 Microsoft