Fixed LoggerTest code coverage