public void append(@NotNull String text, @NotNull Key<String> outputType) {
      boolean lastChunk = text.charAt(text.length() - 1) == '\n';
      if (myIsProcessingSpyNow) {
        myIsProcessingSpyNow = !lastChunk;
        return;
      }
      if (!canAppend(outputType)){
        sendAndReset();
      }
      myBuilder.append(text);
      myOutputType = outputType;
      if (myBuilder.length() >= MavenSpyOutputParser.PREFIX.length() || lastChunk) {
        if (!MavenSpyOutputParser.isSpyLog(getText())) {
          sendAndReset();
        } else {
          myIsProcessingSpyNow = !lastChunk;
          reset();
        }
      }
    }
public void append(@NotNull String text, @NotNull Key<String> outputType)