

def log(self, url, entitlement, methodName, args, result, latency=None):
    self.reopen()
    logStr = cPickle.dumps((self.logFormatRevision, url, entitlement, methodName, args, result, latency))
    self.fobj.write((struct.pack('!I', len(logStr)) + logStr))
    self.fobj.flush()

dataset/ETHPy150Open sassoftware/conary/conary/repository/calllog.py ClientCallLogger.log/original