Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.22 KB

File metadata and controls

23 lines (17 loc) · 1.22 KB
title description ms.topic ms.date ms.author monikerRange author manager ms.subservice
Logging extension diagnostics
Learn how to use logging to store information about the execution of an extension at runtime in VisualStudio.Extensibility
conceptual
3/31/2023
maiak
>=vs-2022
maiak
mijacobs
extensibility-integration

Logging extension diagnostics

Each extension part can inject a TraceSource instance that is created as part of the extensibility framework. Extension developers are recommended to utilize this instance for diagnostics as it will allow integration with future tools on Visual Studio diagnostics.

Accessing log entries

Currently the logs are output to %TEMP%\VSLogs directory in svclog XML format. This format allows logs from multiple processes to be correlated to each other and can be opened by Microsoft Service Trace Viewer tool. This tool should already be available on machines with Visual Studio as it is part of .NET Framework tools.

Related content