Adding ILogging interface refactor.