Matt Sicker created LOG4J2-1411:
-----------------------------------
Summary: Add documentation about plugin builders compared to
factories
Key: LOG4J2-1411
URL: https://issues.apache.org/jira/browse/LOG4J2-1411
Project: Log4j 2
Issue Type: Documentation
Components: Plugins
Affects Versions: 2.6
Reporter: Matt Sicker
Assignee: Matt Sicker
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]