code: private void createExtendedElement(StringBuilder sb, RepositoryLogRecord record, String extensionID){
  		String edeValue = record.getExtension(extensionID);
  		if (edeValue != null && !edeValue.isEmpty()){
  			createExtendedElement(sb, extensionID, "string", edeValue);
  		}
  	}
docs: Appends the CBE Extended Data Element of a record's extension to a String buffer
  
  @param sb             the string buffer the element will be added to
  @param record         the record that represents the common base event
  @param extensionId    the extension ID field from the record to use