Package | Description |
---|---|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.lookup |
Log4j 2 Lookups.
|
Modifier and Type | Method and Description |
---|---|
static StrLookup |
PropertiesPlugin.configureSubstitutor(Property[] properties,
Configuration config)
Create the Properties component.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLookup
A default lookup for others to extend.
|
class |
ContextMapLookup
Looks up keys from
ThreadContext objects.. |
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 |
MapLookup
A map-based lookup.
|
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 | 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 |
---|
ConfigurationStrSubstitutor(StrLookup lookup) |
Interpolator(StrLookup defaultLookup) |
Interpolator(StrLookup defaultLookup,
List<String> pluginPackages)
Constructs an Interpolator using a given StrLookup and a list of packages to find Lookup plugins in.
|
RuntimeStrSubstitutor(StrLookup lookup) |
StrSubstitutor(StrLookup variableResolver)
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
String prefix,
String suffix,
char escape)
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
String prefix,
String suffix,
char escape,
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.
|
StrSubstitutor(StrLookup variableResolver,
StrMatcher prefixMatcher,
StrMatcher suffixMatcher,
char escape,
StrMatcher valueDelimiterMatcher,
StrMatcher valueEscapeMatcher)
Creates a new instance and initializes it.
|
Copyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.