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

Provide MessageFactory2 to custom Logger implementations

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6, 2.6.1
    • Fix Version/s: 2.6.2
    • Component/s: API
    • Labels:
      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

            • Assignee:
              mikaelstaldal Mikael Ståldal
              Reporter:
              mikaelstaldal Mikael Ståldal
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: