Fix for GetService() implementation of FuncDependencyResolver

I use FuncDependencyResolver with my 3rd party IoC and I'm unable to overwrite default registration of DebugLogger with my ILogger implementation, this PR fixes it