serilog-enrichers-environment icon indicating copy to clipboard operation
serilog-enrichers-environment copied to clipboard

Does not work for partial class

Open stevensrf11 opened this issue 1 year ago • 4 comments

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 avatar Sep 08 '24 17:09 stevensrf11

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 avatar Sep 08 '24 17:09 stevensrf11

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

stevensrf11 avatar Sep 08 '24 17:09 stevensrf11

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!

nblumhardt avatar Sep 09 '24 02:09 nblumhardt

 

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: @.***>

stevensrf11 avatar Sep 10 '24 11:09 stevensrf11