Gary Gregory created LOG4J2-2638: ------------------------------------ Summary: Add and use method org.apache.logging.log4j.message.MapMessage.toKey(String) for simpler subclasses Key: LOG4J2-2638 URL: https://issues.apache.org/jira/browse/LOG4J2-2638 Project: Log4j 2 Issue Type: New Feature Reporter: Gary Gregory
Add and use method a new method {{org.apache.logging.log4j.message.MapMessage.toKey(String)}} for simpler subclasses: {code:java} /** * 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; } {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)