Github user bjlaub commented on a diff in the pull request:

    https://github.com/apache/logging-log4j2/pull/205#discussion_r208965737
  
    --- Diff: 
log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableParameterizedMessage.java
 ---
    @@ -355,4 +352,35 @@ public void clear() { // LOG4J2-1583
             messagePattern = null;
             throwable = null;
         }
    +
    +    @Override
    +    public MessageContentFormatter getMessageContentFormatter() {
    +        return formatter;
    +    }
    +
    +    private static final MessageContentFormatter formatter = new 
MessageContentFormatter() {
    +        private final ThreadLocal<int[]> indices = new ThreadLocal<>();
    --- End diff --
    
    see 
https://github.com/apache/logging-log4j2/pull/208/commits/fc8ed21311d3a428b5a673a1b289ea2624e60cdb
 in #208 


---

Reply via email to