https://github.com/microsoft/wil/wiki/Error-logging-and-observation#tracelogging-activities-caveats
There's a bunch of neat stuff around how to use tracelogging & WIL activities that's not yet really documented. Copilot also really really likes pushing some antipatterns ("always call .Stop() even on exceptions") which degrade its generated code.
Have copilot summarize the documentation on how-to-use tracelogging activities, then make a new Wiki page (or update the error observation one above.)
https://github.com/microsoft/wil/wiki/Error-logging-and-observation#tracelogging-activities-caveats
There's a bunch of neat stuff around how to use tracelogging & WIL activities that's not yet really documented. Copilot also really really likes pushing some antipatterns ("always call
.Stop()even on exceptions") which degrade its generated code.Have copilot summarize the documentation on how-to-use tracelogging activities, then make a new Wiki page (or update the error observation one above.)