Web & .NET developer
In order to use NullLogger with container, next configuration should be added:
services.AddLogging(l => l.AddProvider(NullLoggerProvider.Instance));