serilog / serilog-enrichers-environment

Enrich Serilog log events with properties from System.Environment.
Apache License 2.0
83 stars 32 forks source link

Does not work for partial class #68

Open stevensrf11 opened 2 months ago

stevensrf11 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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

nblumhardt commented 2 months ago

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 commented 2 months ago

 

ok. Those fuck up SOB  people who run stack overflow keep saying the question i posted is not correct and will not let me post a message on the subject.  

Sent: Sunday, September 08, 2024 at 9:58 PM From: "Nicholas Blumhardt" @.> To: "serilog/serilog-enrichers-environment" @.> Cc: "stevensrf11" @.>, "Author" @.> Subject: Re: [serilog/serilog-enrichers-environment] Does not work for partial class (Issue #68)

 

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!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>