[ https://issues.apache.org/jira/browse/LOG4J2-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461581#comment-13461581 ]
Ralph Goers commented on LOG4J2-85: ----------------------------------- I'm not sure how to do this as it would require encapsulating the msg and args into another object on the stack. In that case, what would pop return? Are you really wanting push(Message)? > Replace ThreadContext.push(String msg) with push(String msg, Object args...) > ---------------------------------------------------------------------------- > > Key: LOG4J2-85 > URL: https://issues.apache.org/jira/browse/LOG4J2-85 > Project: Log4j 2 > Issue Type: Improvement > Reporter: Joern Huxhorn > > Provide the option to use similar message formatting like the usual log > methods. The API is still alpha so we can safely replace the method. > If NDC functionality would be disabled (see LOG4J2-84) then message > formatting wouldn't be performed at all, thus being significantly faster than > always composing the message. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org