(self, connect_string)
Initializes the handler with a specific connection string.
Initializes the handler with a specific connection string.
Initializes the handler with a specific connection string .
def __init__(self, connect_string):
        """
        Initializes the handler with a specific connection string.
        """

        logging.handlers.SocketHandler.__init__(self, None, None)
        self.closeOnError = 1

        self.connect_string = connect_string

        self.stat_cache = {}
        self.stat_flush_period = 60
        # send first stat line immediately
        self.last_stat_flush = 0
def __init__ ( self , connect_string ) : logging . handlers . SocketHandler . __init__ ( self , None , None ) self . closeOnError = 1 self . connect_string = connect_string self . stat_cache = { } self . stat_flush_period = 60 # send first stat line immediately self . last_stat_flush = 0