Description
Add and use method a new method org.apache.logging.log4j.message.MapMessage.toKey(String) for simpler subclasses:
/** * Allows subclasses to change a candidate key to an actual key. * * @param candidateKey The candidate key. * @return The candidate key. * @since 2.12 */ protected String toKey(final String candidateKey) { return candidateKey; }