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

Add documentation about plugin builders compared to factories

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.6.1
    • Plugins
    • 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

            mattsicker Matt Sicker
            mattsicker Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: