.NET: how to reliably and efficiently track calling method when using Serilog?
In my custom logger I used to track the calling method and now that I’m using serilog I’m not sure how to achieve the same result. I’ve added the Serilog.Enrichers.CallerInfo Nuget package and I’m creating the serilog logger as follows