Package | Description |
---|---|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.lookup |
Log4j 2 Lookups.
|
Modifier and Type | Field and Description |
---|---|
private StrLookup |
AbstractConfiguration.tempLookup |
Modifier and Type | Method and Description |
---|---|
static StrLookup |
PropertiesPlugin.configureSubstitutor(Property[] properties,
Configuration config)
Creates the Properties component.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConfigurationAwareLookup
StrLookup that is ConfigurationAware.
|
class |
AbstractLookup
A default lookup for others to extend.
|
class |
ContextMapLookup
Looks up keys from the context.
|
class |
DateLookup
Formats the current date or the date in the LogEvent.
|
class |
EnvironmentLookup
Looks up keys from environment variables.
|
class |
Interpolator
Proxies all the other
StrLookup s. |
class |
JavaLookup
Looks up keys related to Java: Java version, JRE version, VM version, and so on.
|
class |
JmxRuntimeInputArgumentsLookup
Maps JVM input arguments (but not main arguments) using JMX to acquire JVM arguments.
|
class |
JndiLookup
Looks up keys from JNDI resources.
|
class |
Log4jLookup
Lookup properties of Log4j
|
class |
MainMapLookup
A map-based lookup for main arguments.
|
class |
MapLookup
A map-based lookup.
|
class |
MarkerLookup
Looks-up markers.
|
class |
ResourceBundleLookup
Looks up keys from resource bundles.
|
class |
StructuredDataLookup
Looks up keys from
StructuredDataMessage log messages. |
class |
SystemPropertiesLookup
Looks up keys from system properties.
|
Modifier and Type | Field and Description |
---|---|
private StrLookup |
Interpolator.defaultLookup |
private StrLookup |
StrSubstitutor.variableResolver
Variable resolution is delegated to an implementer of VariableResolver.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,StrLookup> |
Interpolator.lookups |
Modifier and Type | Method and Description |
---|---|
StrLookup |
StrSubstitutor.getVariableResolver()
Gets the VariableResolver that is used to lookup variables.
|
Modifier and Type | Method and Description |
---|---|
void |
StrSubstitutor.setVariableResolver(StrLookup variableResolver)
Sets the VariableResolver that is used to lookup variables.
|
Constructor and Description |
---|
Interpolator(StrLookup defaultLookup) |
Interpolator(StrLookup defaultLookup,
java.util.List<java.lang.String> pluginPackages)
Constructs an Interpolator using a given StrLookup and a list of packages to find Lookup plugins in.
|
StrSubstitutor(StrLookup variableResolver)
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
java.lang.String prefix,
java.lang.String suffix,
char escape)
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
java.lang.String prefix,
java.lang.String suffix,
char escape,
java.lang.String valueDelimiter)
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
StrMatcher prefixMatcher,
StrMatcher suffixMatcher,
char escape)
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
StrMatcher prefixMatcher,
StrMatcher suffixMatcher,
char escape,
StrMatcher valueDelimiterMatcher)
Creates a new instance and initializes it.
|