public Integer getIndex() {
    return logWithMetadata.getLogIndex();
  }
Returns the index of the log.

@return the index of the log.
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/graphql/internal/pojoadapter/LogAdapter.java