Mikael Ståldal created LOG4J2-1418:
--------------------------------------

             Summary: Provide MessageFactory2 to custom Logger implementations
                 Key: LOG4J2-1418
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1418
             Project: Log4j 2
          Issue Type: Improvement
          Components: API
    Affects Versions: 2.6
            Reporter: Mikael Ståldal


It would be useful for a custom Logger implementation to be able to get hold of 
a {{MessageFactory2}} (and not just a {{MessageFactory}}), in order to 
efficiently process {{CharSequence}}s etc.

{{Logger.getMessageFactory()}} return {{MessageFactory}}, even though the sole 
implementation in {{AbstractLogger}} do have a {{MessageFactory2}} available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to