def format(self, record):
        msg = super(Formatter, self).format(record)

        if record.levelno == logging.INFO:
            msg = '> ' + msg
        elif (logging.ERROR, logging.CRITICAL, logging.FATAL, logging.WARN) in record.levelno:
            msg = '! ' + msg
        elif record.levelno == logging.DEBUG:
            msg = '# ' + msg

        return msg
dataset/ETHPy150Open memsql/memsql-loader/memsql_loader/util/log.py/Formatter.format/swapped operands of `in`