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

Add documentation about plugin builders compared to factories

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.1
    • Component/s: Plugins
    • Labels:
      None

      Description

      The plugin builder annotations are provided as an alternative to the original plugin factory method pattern which is useful for when a plugin requires more than a couple parameters (especially core plugins that may be changed in future releases).

      The "Extending Log4j" page should include notes about plugin factories versus plugin builders. All examples on that page are in the factory format, so an additional example using builders would also help.

        Attachments

          Activity

            People

            • Assignee:
              jvz Matt Sicker
              Reporter:
              jvz Matt Sicker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: