parameters: (self, record)
docstring: Emit a record.
  
          Pickles the record and writes it to the socket in binary format.
          If there is an error with the socket, silently drop the packet.
          If there was a problem with the socket, re-establishes the
          socket.
docstring_summary: Emit a record.
docstring_tokens: Emit a record .
function: def emit(self, record):
          """
          Emit a record.
  
          Pickles the record and writes it to the socket in binary format.
          If there is an error with the socket, silently drop the packet.
          If there was a problem with the socket, re-establishes the
          socket.
          """
          try:
              s = self.makePickle(record)
              self.send(s)
          except (KeyboardInterrupt, SystemExit):
              raise
          except:
              self.handleError(record)
function_tokens: def emit ( self , record ) : try : s = self . makePickle ( record ) self . send ( s ) except ( KeyboardInterrupt , SystemExit ) : raise except : self . handleError ( record )