Windows.Foundation.Diagnostics namespace

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 Creates Event Tracing for Windows (ETW) events that mark the start and end of a group of related events.
LoggingChannel Represents a source of log messages.
LoggingChannelOptions Represents advanced settings that you can use to configure a LoggingChannel object.
LoggingFields Represents a sequence of event fields and provides methods for adding fields to the sequence.
LoggingOptions Represents advanced event settings.
LoggingSession Represents the destination of logged messages from LoggingChannel instances.
ProcessDiagnosticTarget Represents a process that you want a diagnostic tool to analyze.
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.
LoggingFieldFormat Specifies the format of an event field.
LoggingLevel Specifies the severity level of an event.
LoggingOpcode Specifies an event opcode. Opcodes represent an operation within a component of an application and are used to logically group events.

 

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.
ILoggingTarget Logs events.

 

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:
© 2015 Microsoft