parameters: (self, host, port)
docstring: Initializes the handler with a specific host address and port.
  
          When the attribute *closeOnError* is set to True - if a socket error
          occurs, the socket is silently closed and then reopened on the next
          logging call.
docstring_summary: Initializes the handler with a specific host address and port.
docstring_tokens: Initializes the handler with a specific host address and port .
function: def __init__(self, host, port):
          """
          Initializes the handler with a specific host address and port.
  
          When the attribute *closeOnError* is set to True - if a socket error
          occurs, the socket is silently closed and then reopened on the next
          logging call.
          """
          logging.Handler.__init__(self)
          self.host = host
          self.port = port
          if port is None:
              self.address = host
          else:
              self.address = (host, port)
          self.sock = None
          self.closeOnError = False
          self.retryTime = None
          #
          # Exponential backoff parameters.
          #
          self.retryStart = 1.0
          self.retryMax = 30.0
          self.retryFactor = 2.0
function_tokens: def __init__ ( self , host , port ) : logging . Handler . __init__ ( self ) self . host = host self . port = port if port is None : self . address = host else : self . address = ( host , port ) self . sock = None self . closeOnError = False self . retryTime = None # # Exponential backoff parameters. # self . retryStart = 1.0 self . retryMax = 30.0 self . retryFactor = 2.0