docs: public LogSetup withTypes(LogType... types) {
          java.util.ArrayList<String> typesCopy = new java.util.ArrayList<String>(types.length);
          for (LogType value : types) {
              typesCopy.add(value.toString());
          }
          if (getTypes() == null) {
              setTypes(typesCopy);
          } else {
              getTypes().addAll(typesCopy);
          }
          return this;
      }