code: public LogMetadata and(String key, Object value) {
          metadata.put(key, value);
          return this;
      }
docs: Extend a metadata marker with another key-value pair.
  @param key the key to add
  @param value the value for the key