class_docstr: Used with the ``with`` statement when calling delegate methods to
  log any exceptions with the given logger.  Any exceptions caught are
  converted to _QuietException
class_docstr_tok: ["Used","with","the","``","with","``","statement","when","calling","delegate","methods","to","log","any","exceptions","with","the","given","logger",".","Any","exceptions","caught","are","converted","to","_QuietException"]
code: def __init__(self, logger: logging.Logger) -> None:
      self.logger = logger
  
imports: import asyncio
  import logging
  import re
  import types
  from tornado.concurrent import Future, future_add_done_callback, future_set_result_unless_cancelled
  from tornado.escape import native_str, utf8
  from tornado import gen
  from tornado import httputil
  from tornado import iostream
  from tornado.log import gen_log, app_log
  from tornado.util import GzipDecompressor
  from typing import cast, Optional, Type, Awaitable, Callable, Union, Tuple
label_desc: Use image node_id 1 to create a new _ExceptionLoggingContext object from inherited base classes: object with example: obj = _ExceptionLoggingContext(logger)