StructLog { public static String kvp(Object... objects) { return asString(asMap(objects)); }  static String kvp(Object... objects);  }
@Test public void kvp() { String kvp = StructLog.kvp("k1", "v1", "k2", "v2"); assertEquals("k1=v1,k2=v2", kvp); }
@Test public void boomIfOdd() { try { StructLog.kvp("k1", "v1", "k2"); fail(); } catch (IllegalArgumentException ignored) { } }