I am about to implement logging in some web apis I am writing.
The default implementation suggests that everywhere I want to use logging I need to inject.
What is wrong with a static logger(serilog)without the need of injecting everywhere.
Am I missing the point?
I did see this thread (before somebody jumps with duplicate)
ASP.NET Core Web API Logging from a Static Class
In the thread above mentioned i dont see how I can integrate with serilog?
As anybody implemented a serilog static logger netcore?
thanks