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