def format(self, record):
        lvl = int(record.levelno / 10) * 10
        record.msg = self._colorize(self.level_map.get(lvl)[0], record.msg, self.level_map.get(lvl)[1])
        return super(ColorFormatter, self).format(record)
dataset/ETHPy150Open n9code/pylease/pylease/logger.py/ColorFormatter.format/original