def colorize(self, message, record):
        """Colorize message based on record level
        """
        if record.levelno in self._scheme:
            color = self._scheme[record.levelno]
            return color + message + Style.RESET_ALL

        return message
dataset/ETHPy150Open LabPy/lantz/lantz/log.py/ColorizingFormatter.colorize/original