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

Use SourceContext to populate InstrumentationScope.Name #113

Merged
merged 5 commits into from
Dec 7, 2023

Conversation

nblumhardt
Copy link
Member

@nblumhardt nblumhardt commented Oct 18, 2023

Fixes #112

This ends up being a breaking change, since the default instrumentation scope changes, and SourceContext won't appear as an attribute without the IncludedData.SourceContextAttribute option. I've bumped the major version to 2.0.0 to reflect this.

@nblumhardt nblumhardt marked this pull request as ready for review October 23, 2023 06:13
@nblumhardt
Copy link
Member Author

Ready for review now :-)

@nblumhardt nblumhardt marked this pull request as draft October 23, 2023 06:45
@nblumhardt nblumhardt marked this pull request as ready for review October 23, 2023 06:48
@nblumhardt
Copy link
Member Author

Given the amount of other churn going on around Serilog 3.1, planning to hold onto this PR until after 1.2.0 has shipped.

@nblumhardt nblumhardt merged commit c5d4409 into serilog:dev Dec 7, 2023
1 check passed
@nblumhardt nblumhardt mentioned this pull request Apr 19, 2024
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.

Record SourceContext in InstrumentationScope.Name
1 participant