def log_chat(self, evt, data):
        text = data.get('text', '[Chat] <%s via %s> %s' %
                        (data['name'], data['type'], data['message']))
        logger.info('[Chat] %s', text)
dataset/ETHPy150Open Gjum/Bat/bat/bat.py/BatPlugin.log_chat/original