code: public void logLocalCommands(final List<Command> commands) {
          if (singleValue == null) {
              return;
          }
          for (final Command command : commands) {
              if (command instanceof SetPropertyValue) {
                  singleValue.logLocalCommand((SetPropertyValue) command);
              } else if (command instanceof ListCommand) {
                  lists.logLocalCommand((ListCommand) command);
              }
          }
      }
docs: Logs a list of locally generated commands that is sent to the server.
  
  @param commands
  The commands that where send.