code: public void setTraces(Trace... traces) {
          this.traces.clear();
          for (Trace trace : traces) {
              if (!trace.addReplacements(this.traces)) {
                  this.traces.add(trace);
              }
          }
      }
docs: set the traces for this client
  @param traces the fields to include in trace-logging