Matt Pavlovich created LOG4J2-2732: -------------------------------------- Summary: Add ThreadContext.putIfNull(String, String) Key: LOG4J2-2732 URL: https://issues.apache.org/jira/browse/LOG4J2-2732 Project: Log4j 2 Issue Type: New Feature Components: API Reporter: Matt Pavlovich
Provide a helper method that provides a 1-liner to put an identifier only if it is not set. {noformat} if(!ThreadContext.containsKey("uniqueId")) { -- This message was sent by Atlassian Jira (v8.3.4#803005)