public static void dumpInfo(Enricher enr, Writer out, String currentIndentation, String tab) throws IOException { out.append(currentIndentation+enr.toString()+"\n"); for (ConfigKey<?> key : sortConfigKeys(enr.getEnricherType().getConfigKeys())) { Maybe<Object> val = ((BrooklynObjectInternal)enr).config().getRaw(key); if (!isTrivial(val)) { out.append(currentIndentation+tab+tab+key); out.append(" = "); if (isSecret(key.getName())) out.append("xxxxxxxx"); else out.append(""+val.get()); out.append("\n"); } } out.flush(); } public static void dumpInfo(Feed feed, String currentIndentation, String tab) throws IOException {