Lines Matching refs:StreamHandler
115 self.root_hdlr = logging.StreamHandler(self.stream)
683 self.sub_handler = logging.StreamHandler(
757 class TestStreamHandler(logging.StreamHandler):
775 h = logging.StreamHandler(BadStream())
792 h = logging.StreamHandler()
803 h = logging.StreamHandler(StreamWithIntName())
2145 handler = logging.StreamHandler(writer)
2166 h = logging.StreamHandler(stream)
2206 return logging.StreamHandler()
2208 class CustomHandler(logging.StreamHandler):
3415 class MyHandler(logging.StreamHandler):
4313 h = logging.StreamHandler(stream)
4534 self.assertIsInstance(handler, logging.StreamHandler)
4603 self.assertIsInstance(handler, logging.StreamHandler)
4636 handlers = [logging.StreamHandler()]
4651 logging.StreamHandler(),
4652 logging.StreamHandler(sys.stdout),
4653 logging.StreamHandler(),
4669 old_handlers = [logging.StreamHandler(old_string_io)]
4670 new_handlers = [logging.StreamHandler(new_string_io)]