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

Address a couple log generator issues. #4894

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Address a couple log generator issues. #4894

merged 1 commit into from
Jan 22, 2024

Conversation

geeknoid
Copy link
Member

@geeknoid geeknoid commented Jan 19, 2024

  • Fix a bug where a tag provider attached to an enumerable parameter or property wouldn't behave as expected. Fixes [TagProvider] doesn't work on IEnumerable properties #4883.

  • When an event id is not specified, instead of emitting 0 for the the id, we now hash the event name and/or method name. This matches the behavior of the generator in dotnet/runtime and is generally more useful.

Microsoft Reviewers: Open in CodeFlow

- Fix a bug where a tag provider attached to an enumerable parameter
or property wouldn't behave as expected. Fixes #4883.

- When an event id is not specified, instead of emitting 0 for the
the id, we now hash the event name and/or method name. This matches
the behavior of the generator in dotnet/runtime and is generally
more useful.
@geeknoid geeknoid merged commit 9f25d9d into main Jan 22, 2024
6 checks passed
@geeknoid geeknoid deleted the geeknoid/logging branch January 22, 2024 16:35
@ghost ghost added this to the 8.1 milestone Jan 22, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2024
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.

[TagProvider] doesn't work on IEnumerable properties
3 participants