Updated consoleIO to use logger.