TraceLogging Classes
The Windows SDK provides the following C++ classes that provide support for logging TraceLogging events during an ETW activity:
- TraceLoggingActivity helps manage a TraceLogging ETW activity where events are explicitly associated with the activity.
- TraceLoggingThreadActivity helps manage a TraceLogging ETW activity where events are implicitly associated with the activity based on the thread-local default activity ID.
- TraceLoggingThreadActivityIdSetter helps set the thread-local default activity ID on scope entry and restore the original ID on scope exit.
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for