/**
   * print the file header, with the node name the raw data and the feature field
   *
   * @param out stream where write the feature data
   * @param f feature that this close will dump
   */
  protected void printHeader(Formatter out, Feature f) {
    Field fields[] = f.getFieldsDesc();
    out.format("Log start on," + DATE_FORMAT_TO_HEADER.format(mStartLog) + "\n");
    out.format("Feature," + f.getName() + "\n");
    out.format("Nodes,");
    if (mNodeList != null) for (Node n : mNodeList) out.format(n.getFriendlyName() + ", ");
    out.format("\n");

    out.format(
        HOST_TIMESTAMP_COLUMN
            + " (ms),"
            + NODE_NAME_COLUMN
            + ","
            + NODE_TIMESTAMP_COLUMN
            + ","
            + ""
            + NODE_RAW_DATA_COLUMN
            + ",");
    for (Field field : fields) {
      out.format(field.getName());
      String unit = field.getUnit();
      if (unit != null && !unit.isEmpty()) out.format(" (%s)", field.getUnit());
      out.format(",");
    } // for
    out.format("\n");
    out.flush();
  } // printHeader