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

Does not work for partial class #68

Open
stevensrf11 opened this issue Sep 8, 2024 · 4 comments
Open

Does not work for partial class #68

stevensrf11 opened this issue Sep 8, 2024 · 4 comments

Comments

@stevensrf11
Copy link

This nuget package only shows that class if the class is made a partial class.
Did anyone test what would happen if a class was made partial?

@stevensrf11
Copy link
Author

seri
Here is an image sowing serilog only showing the class name in the log for a partial class , and the class name.method name,line of code in the log file for a class which is not a partial file

@stevensrf11
Copy link
Author

seri (1)
Here is the appsettings.json file. The application is ,Net 6 windows service project

@nblumhardt
Copy link
Member

Hi! Thanks for your message. I don't think it relates to the Serilog.Enrichers.Environment package, though. This one might be best for Stack Overflow's format, where there will be more eyes on it. All the best!

@stevensrf11
Copy link
Author

stevensrf11 commented Sep 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants