The JavaDoc at Markers#L35 gives the following example:
* logger.info(append("name1", "value1").with(append("name2", "value2")), "log message");
However, it appears that the with() construct is deprecated in favour of and(). May the example should be reviewed to conform to the "current" way of composing markers.