I have written a function to return an ILogger instance. This way I can get consistent logging in all my code. My problem is that when called from different typ
In .Net5 ILoggerFactory is used as Configure function in Startup.cs as follows : public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILogger