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

BeginScope is broken #266

Open
rhssiiy opened this issue Jan 26, 2025 · 2 comments
Open

BeginScope is broken #266

rhssiiy opened this issue Jan 26, 2025 · 2 comments

Comments

@rhssiiy
Copy link

rhssiiy commented Jan 26, 2025

BeginScope no longer adds properties to the log event. 8.0.1-dev-10377 is the latest version that works as described in the README.

@nblumhardt
Copy link
Member

Thanks for the heads-up! I can't reproduce this locally - all of the BeginScope variants work for me with 9.0.0 on .NET 9. Any chance you can post a minimal repro, failing test, or an example of your configuration plus usage?

@rhssiiy
Copy link
Author

rhssiiy commented Jan 28, 2025

Thanks for the reply.
I made the repro as minimal as I could - https://github.com/rhssiiy/TestLogging.
If I use AddSerilog instead of AddProvider - everything works fine even with 9.0.0.
Now I have doubts, is this a regression or am I doing something wrong?

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

No branches or pull requests

2 participants