Skip to content

Commit

Permalink
Merge pull request #63575 from jmarolf/bugfix/log-document-outline-te…
Browse files Browse the repository at this point in the history
…lemetry

Send Document outline telemetry
  • Loading branch information
jmarolf authored Aug 25, 2022
2 parents ebf02bf + 21d8893 commit 777d206
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public static ImmutableArray<DocumentSymbolData> SortDocumentSymbolData(
SortOption.Location => FunctionId.DocumentOutline_SortByOrder,
SortOption.Type => FunctionId.DocumentOutline_SortByType,
_ => throw new NotImplementedException(),
});
}, logLevel: LogLevel.Information);

return SortDocumentSymbols(documentSymbolData, sortOption, cancellationToken);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ int IVsDocOutlineProvider.GetOutline(out IntPtr phwnd, out IOleCommandTarget? pp
phwnd = _documentOutlineViewHost.Handle;
ppCmdTarget = null;

Logger.Log(FunctionId.DocumentOutline_WindowOpen);
Logger.Log(FunctionId.DocumentOutline_WindowOpen, logLevel: LogLevel.Information);

return VSConstants.S_OK;
}
Expand Down

0 comments on commit 777d206

Please sign in to comment.