def pretty_print(q)
      map = pretty_print_attribute_hash.delete_if { |k, v| v.nil_or_empty? }
      # one indented line per entry, all but the last line ending in a comma
      content = map.map { |label, value| "  #{label}=>#{format_print_value(value)}" }.join(",\n")
      # print the content to the log
      q.text("#{qp} structure:\n#{content}")
    end
def pretty_print(q)
      map = pretty_print_attribute_hash.delete_if { |k, v| v.nil_or_empty? }
      # one indented line per entry, all but the last line ending in a comma
      content = map.map { |label, value| "  #{label}=>#{format_print_value(value)}" }.join(",\n")
      # print the content to the log
      q.text("#{qp} structure:\n#{content}")
    end
Prints this classifier's content to the log.