Use interface for Logger
SONARCOVRG-10 Change minimum version to 4.2