[ 
https://issues.apache.org/jira/browse/LOG4J2-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962603#comment-15962603
 ] 

ASF subversion and git services commented on LOG4J2-1860:
---------------------------------------------------------

Commit df1b3e8846246988d6119f65e7fcb3e5a9a3f1cb in logging-log4j2's branch 
refs/heads/master from [~mikaelstaldal]
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=df1b3e8 ]

LOG4J2-1860 Shortcut to add Property and KeyValuePair component in 
ConfigurationBuilder


> Shortcut to add Property and KeyValuePair component in ConfigurationBuilder
> ---------------------------------------------------------------------------
>
>                 Key: LOG4J2-1860
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1860
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Configurators
>    Affects Versions: 2.8.1
>            Reporter: Mikael Ståldal
>            Assignee: Mikael Ståldal
>
> It would be nice to have shortcuts for 
> {code}
> builder.addComponent(builder.newComponent("my-name, "Property", "my-value"));
> {code}
> and 
> {code}
> builder.addComponent(builder.newComponent("KeyValuePair").addAttribute("key", 
> "my-key").addAttribute("value", "my-value"));
> {code}
> since they are used by several appenders and layouts.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to