Closed develax closed 5 years ago
Sorry, I cannot understand how this change affects logger providers setup? They are configured in 'ConfigureServices' method, and may be injected only to services configured inside DI container.
I think you're right, it's not about NReco.Logging.File
. It's about getting access to a service from the Startup
constructor which doesn't seem to be possible now.
In ASP.NET Core 3.0 injection is limited for the
Startup
constructor:Is it possible to get an instance of logger without injection in cases like this one?