

@staticmethod
def _emit_wrap(*args, **kwargs):
    record = args[1]
    color = ((hash(record.name) % 8) + 30)
    try:
        record.name = ((('\x1b[%dm' % color) + record.name) + '\x1b[0m')
    except Exception:
        pass
    try:
        kwargs.msg = ((('\x1b[%dm' % color) + record.msg) + '\x1b[0m')
    except Exception:
        pass
    _original_emit(*args, **kwargs)

dataset/ETHPy150Open angr/angr/angr/log.py Loggers._emit_wrap/VarMisuse@78/97 `record`->`kwargs`