Skip to content

More LoggerMessageAttribute #35368

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

Merged
merged 2 commits into from
Aug 17, 2021
Merged

More LoggerMessageAttribute #35368

merged 2 commits into from
Aug 17, 2021

Conversation

pranavkm
Copy link
Contributor

  • src/Middleware
  • Some MVC projects

* src/Middleware
* Some MVC projects
@pranavkm pranavkm marked this pull request as ready for review August 16, 2021 19:35
Copy link
Member

@adityamandaleeka adityamandaleeka left a comment

Choose a reason for hiding this comment

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

LGTM, provided that the change of IDs in PageLoggerExtensions is intentional and safe.

@pranavkm pranavkm merged commit 61fc66c into main Aug 17, 2021
@pranavkm pranavkm deleted the prkrishn/logger-message-2 branch August 17, 2021 23:54
@ghost ghost added this to the 6.0-rc1 milestone Aug 17, 2021
@pranavkm
Copy link
Contributor Author

For the Razor Pages logger ids, we think the change is fine. The current implementation re-uses IDs for similar log statements but it's not a pattern we could continue using with the source generator. Using distinct ids should be fine. I'll file a breaking change announcement for it

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.

2 participants