Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up VS Code logging #9142

Closed
davidwengier opened this issue Aug 21, 2023 · 0 comments · Fixed by dotnet/vscode-csharp#6770 or #9745
Closed

Fix up VS Code logging #9142

davidwengier opened this issue Aug 21, 2023 · 0 comments · Fixed by dotnet/vscode-csharp#6770 or #9745
Assignees
Labels
bug Something isn't working
Milestone

Comments

@davidwengier
Copy link
Contributor

In VS Code there are three settings for Razor logging, "Off", "Messages" and "Verbose". Off is the default, but due to a bug in the C# side we actually always log as Verbose regardless of the setting.

We should fix this up to use more standard level names (ie, Debug, Information, Warning, Error) and we should actually honor what the user sets. Also should probably default to Warning or Information, rather than Off. We should probably also change the name of the setting to razor.server.trace from the current razor.trace to better match the C# extension, and the VS Code documentation for LSP servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment