Error: Align interfaces of Logger and LoggerMock