code: protected void logHeuristic(boolean commit) throws SystemException {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "logHeuristic", commit);
  
          if (_subordinate && _status.getState() != TransactionState.STATE_PREPARING) {
              getResources().logHeuristic(commit);
          }
  
          if (tc.isEntryEnabled())
              Tr.exit(tc, "logHeuristic");
      }
docs: Log the fact that we have encountered a heuristic outcome.
  
  @param commit boolean to indicate whether we were committing or rolling
  back
  @exception SystemException
  Thrown if the state change is invalid.