def __init__(self, callback, verbose=True): threading.Thread.__init__(self) self.daemon = True self.verbose = verbose self._conn = None self._queue = le_helpers.create_queue(QUEUE_SIZE) self._interrupted_evt_handler = callback
def __init__(self, verbose=True, le_api=LE_API_DEFAULT, le_port=LE_PORT_DEFAULT, le_tls_port=LE_TLS_PORT_DEFAULT): threading.Thread.__init__(self) # Logentries API server address self.le_api = le_api # Port number for token logging to Logentries API server self.le_port = le_port self.le_tls_port = le_tls_port self.daemon = True self.verbose = verbose self._conn = None self._queue = le_helpers.create_queue(QUEUE_SIZE)
def __init__(self, verbose=True): threading.Thread.__init__(self) self.daemon = True self.verbose = verbose self._conn = None self._queue = le_helpers.create_queue(QUEUE_SIZE)