Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1418

Provide MessageFactory2 to custom Logger implementations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6, 2.6.1
    • 2.6.2
    • API
    • None

    Description

      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 etc.

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

      Attachments

        Activity

          People

            mikaelstaldal Mikael Ståldal
            mikaelstaldal Mikael Ståldal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: