

def log(self, level, message):
    d = {
        'client_addr': self.connection.client_addr,
        'client_port': self.connection.client_port,
        'server_addr': self.connection.server_addr,
        'server_port': self.connection.server_port,
        'message': message,
        'app_str': self.applications_str,
        'class': d.name,
        'connection_id': self.connection.id,
    }
    self.logger.log(level, (self.FORMAT % d))

dataset/ETHPy150Open google/nogotofail/nogotofail/mitm/connection/handlers/data/data.py DataHandler.log/VarMisuse@68/100 `self`->`d`