(self, host, port)
Initializes the handler with a specific host address and port.

        The attribute 'closeOnError' is set to 1 - which means that if
        a socket error occurs, the socket is silently closed and then
        reopened on the next logging call.
Initializes the handler with a specific host address and port.
Initializes the handler with a specific host address and port .
def __init__(self, host, port):
        """
        Initializes the handler with a specific host address and port.

        The attribute 'closeOnError' is set to 1 - which means that 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
        self.sock = None
        self.closeOnError = 0
        self.retryTime = None
        #
        # Exponential backoff parameters.
        #
        self.retryStart = 1.0
        self.retryMax = 30.0
        self.retryFactor = 2.0
def __init__ ( self , host , port ) : logging . Handler . __init__ ( self ) self . host = host self . port = port self . sock = None self . closeOnError = 0 self . retryTime = None # # Exponential backoff parameters. # self . retryStart = 1.0 self . retryMax = 30.0 self . retryFactor = 2.0