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

Few logging fixes before the new code generator comes in. #4232

Merged
merged 3 commits into from
Aug 1, 2023

Conversation

geeknoid
Copy link
Member

@geeknoid geeknoid commented Aug 1, 2023

  • Implement IEnrichmentPropertyBag on LoggerMessageState to allow more efficient use in the HttpClient logging paths.

  • Fix handling of redaction of null values in the extended logger. It was returning "" instead of null in that case.

  • Add a few utility functions to LoggerMessageState to make code gen nicer.

  • Fix missing _ separator in the implementation of ILogPropertyCollector in LoggerMessageState.

Microsoft Reviewers: Open in CodeFlow

- Implement IEnrichmentPropertyBag on LoggerMessageState to allow more
efficient use in the HttpClient logging paths.

- Fix handling of redaction of null values in the extended logger.
It was returning "" instead of null in that case.

- Add a few utility functions to LoggerMessageState to make code gen
nicer.

- Fix missing _ separator in the implementation of ILogPropertyCollector
in LoggerMessageState.
@ghost ghost assigned geeknoid Aug 1, 2023
@geeknoid geeknoid requested a review from xakep139 August 1, 2023 14:46
@geeknoid geeknoid merged commit 2bf1605 into main Aug 1, 2023
1 of 5 checks passed
@geeknoid geeknoid deleted the geeknoid/logging branch August 1, 2023 15:56
@ghost ghost added this to the 8.0 RC1 milestone Aug 1, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants