Add the specified handler to this logger.
(self, hdlr)
| 1688 | self._tls.in_progress = False |
| 1689 | |
| 1690 | def addHandler(self, hdlr): |
| 1691 | """ |
| 1692 | Add the specified handler to this logger. |
| 1693 | """ |
| 1694 | with _lock: |
| 1695 | if not (hdlr in self.handlers): |
| 1696 | self.handlers.append(hdlr) |
| 1697 | |
| 1698 | def removeHandler(self, hdlr): |
| 1699 | """ |