parameters: (self, record)
return_statement: return slen + s
docstring: Pickles the record in binary format with a length prefix, and
          returns it ready for transmission across the socket.
docstring_summary: Pickles the record in binary format with a length prefix, and
          returns it ready for transmission across the socket.
docstring_tokens: Pickles the record in binary format with a length prefix and returns it ready for transmission across the socket .
function: def makePickle(self, record):
          """
          Pickles the record in binary format with a length prefix, and
          returns it ready for transmission across the socket.
          """
          ei = record.exc_info
          if ei:
              # just to get traceback text into record.exc_text ...
              dummy = self.format(record)
              record.exc_info = None  # to avoid Unpickleable error
          # See issue #14436: If msg or args are objects, they may not be
          # available on the receiving end. So we convert the msg % args
          # to a string, save it as msg and zap the args.
          d = dict(record.__dict__)
          d['msg'] = record.getMessage()
          d['args'] = None
          s = cPickle.dumps(d, 1)
          if ei:
              record.exc_info = ei  # for next handler
          slen = struct.pack(">L", len(s))
          return slen + s
function_tokens: def makePickle ( self , record ) : ei = record . exc_info if ei : # just to get traceback text into record.exc_text ... dummy = self . format ( record ) record . exc_info = None # to avoid Unpickleable error # See issue #14436: If msg or args are objects, they may not be # available on the receiving end. So we convert the msg % args # to a string, save it as msg and zap the args. d = dict ( record . __dict__ ) d [ 'msg' ] = record . getMessage ( ) d [ 'args' ] = None s = cPickle . dumps ( d , 1 ) if ei : record . exc_info = ei # for next handler slen = struct . pack ( ">L" , len ( s ) ) return slen + s