rgoers commented on a change in pull request #208:
URL: https://github.com/apache/logging-log4j2/pull/208#discussion_r462022446
##########
File path:
log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableParameterizedMessage.java
##########
@@ -355,4 +356,41 @@ public void clear() { // LOG4J2-1583
messagePattern = null;
throwable = null;
}
+
+ @Override
+ public MessageContentFormatter getMessageContentFormatter() {
+ return Formatter.INSTANCE;
+ }
+
+ private enum Formatter implements MessageContentFormatter {
+ INSTANCE;
+
+ private static final ThreadLocal<int[]> localIndices = new
ThreadLocal<int[]>() {
+ @Override
Review comment:
Thanks. @bjlaub if you are still interested is it possible you could
make the recommended changes?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]