Class PropertiesPlugin
java.lang.Object
org.apache.logging.log4j.core.config.PropertiesPlugin
@Plugin(name="Properties",
category="Core",
printObject=true)
public final class PropertiesPlugin
extends Object
Handles properties defined in the configuration.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StrLookup
configureSubstitutor
(Property[] properties, Configuration config) Creates the Properties component.
-
Method Details
-
configureSubstitutor
@PluginFactory public static StrLookup configureSubstitutor(@PluginElement("Properties") Property[] properties, @PluginConfiguration Configuration config) Creates the Properties component.- Parameters:
properties
- An array of Property elements.config
- The Configuration.- Returns:
- An Interpolator that includes the configuration properties.
-