class_docstr: Manage the invocation of a WSGI application
class_docstr_tok: ["Manage","the","invocation","of","a","WSGI","application"]
docstr: Log the 'exc_info' tuple in the server log
  
  Subclasses may override to retarget the output or change its format.
docstr_tok: ["Log","the","'exc_info","'","tuple","in","the","server","log","Subclasses","may","override","to","retarget","the","output","or","change","its","format","."]
code: def log_exception(self, exc_info):
      """Log the 'exc_info' tuple in the server log
  
      Subclasses may override to retarget the output or change its format.
      """
      try:
          from traceback import print_exception
  
          stderr = self.get_stderr()
          print_exception(
              exc_info[0],
              exc_info[1],
              exc_info[2],
              self.traceback_limit,
              stderr,
          )
          stderr.flush()
      finally:
          exc_info = None
  
imports: from .util import FileWrapper, guess_scheme, is_hop_by_hop
  from .headers import Headers
  import sys, os, time
label_desc: Use image node_id 17 for calling the BaseHandler obj's underlying member method code with example usage: obj.log_exception(exc_info) without return types