Lines Matching refs:target
1356 flushing them to a target handler. Flushing occurs whenever the buffer
1359 def __init__(self, capacity, flushLevel=logging.ERROR, target=None,
1363 flushing should occur and an optional target.
1365 Note that without a target being set either here or via setTarget(),
1375 self.target = target
1386 def setTarget(self, target):
1388 Set the target handler for this handler.
1392 self.target = target
1399 records to the target, if there is one. Override if you want
1406 if self.target:
1408 self.target.handle(record)
1415 Flush, if appropriately configured, set the target to None and lose the
1424 self.target = None
1537 self._thread = t = threading.Thread(target=self._monitor)