public class PluginBuilderAttributeVisitor extends AbstractPluginVisitor<PluginBuilderAttribute>
null is returned for the
visit(org.apache.logging.log4j.core.config.Configuration, org.apache.logging.log4j.core.config.Node, org.apache.logging.log4j.core.LogEvent, StringBuilder)
method, then the default value of the field should remain untouched.PluginBuilderaliases, annotation, clazz, conversionType, LOGGER, member, substitutor| Constructor and Description |
|---|
PluginBuilderAttributeVisitor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
visit(Configuration configuration,
Node node,
LogEvent event,
java.lang.StringBuilder log)
Visits a Node to obtain a value for constructing a Plugin object.
|
convert, removeAttributeValue, setAliases, setAnnotation, setConversionType, setMember, setStrSubstitutorpublic java.lang.Object visit(Configuration configuration, Node node, LogEvent event, java.lang.StringBuilder log)
PluginVisitorconfiguration - the current Configuration.node - the current Node corresponding to the Plugin object being created.event - the current LogEvent that caused this Plugin object to be made (optional).log - the StringBuilder being used to build a debug message.