def log(self, url, entitlement, methodName, args, result, latency = None):
        # lazy re-open the log file in case it was rotated from underneath us
        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