Skip to content

Conversation

davidwengier
Copy link
Member

A bright eyed young developer recently added a log message to our code, because they wanted to be kind, helpful, and allow Razor tooling developers to help customers track down issues in future. Little did they know that our logging infrastructure was actually the PIT OF DESPAIR in disguise! To save this kind soul, and hopefully avoid their drive for success from being beaten down further that our regular baseline level of despair these days, I have decided to renovate the pit into a pit of success!

Before:

[LSP][Diagnostics.RazorTranslateDiagnosticsService] [08:20:43.7052932] Dropping diagnostic Microsoft.VisualStudio.LanguageServer.Protocol.SumType`2[System.Int32,System.String]:; expected at csharp range Microsoft.VisualStudio.LanguageServer.Protocol.Range

After:

[LSP][Diagnostics.RazorTranslateDiagnosticsService] [08:20:43.7052932] Dropping diagnostic CS1002:; expected at csharp range (134, 22)-(134, 22)

@davidwengier davidwengier requested a review from a team as a code owner March 3, 2025 21:25
Copy link
Contributor

@ryzngard ryzngard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this PR to my Goodreads. 5/5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants