def log_fault_exc_str (exc, # pylint: disable=W0613
                       message = "", level = logging.CRITICAL,
                       traceback = False):
  """Make a StringIO of the usual traceback information, followed by a
  listing of all the local variables in each frame.
  """
  return log_fault_info_str (sys.exc_info (), message = message,
                             level = level, traceback = traceback)
def log_fault_exc_str ( exc , message = "" , level = logging . CRITICAL , traceback = False ) : return log_fault_info_str ( sys . exc_info ( ) , message = message , level = level , traceback = traceback )
Make a StringIO of the usual traceback information, followed by a
  listing of all the local variables in each frame.