code: def _writeTracebackMessage(logger, typ, exception, traceback):
      
      msg = TRACEBACK_MESSAGE(
          reason=exception, traceback=traceback, exception=typ)
      msg = msg.bind(
          **_error_extraction.get_fields_for_exception(logger, exception))
      msg.write(logger)
docs: Write a traceback to the log.
  
      @param typ: The class of the exception.
  
      @param exception: The L{Exception} instance.
  
      @param traceback: The traceback, a C{str}.