Change return values of logger.log