(self, record)
return tnetstr
Create message in TNetStrings format.
Create message in TNetStrings format.
Create message in TNetStrings format .
def makePickle(self, record):
        """ Create message in TNetStrings format.
        """
        msg = {}
        self.format(record) # render 'message' attribute and others
        for k in self.send_fields:
            msg[k] = record.__dict__[k]
        tnetstr = tnetstrings.dumps(msg)
        return tnetstr
def makePickle ( self , record ) : msg = { } self . format ( record ) # render 'message' attribute and others for k in self . send_fields : msg [ k ] = record . __dict__ [ k ] tnetstr = tnetstrings . dumps ( msg ) return tnetstr