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)
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 |
EventLookup
Looks up values from the log event.
|
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 |
LowerLookup
Converts values to lower case.
|
class |
MainMapLookup
A map-based lookup for main arguments.
|
class |
MapLookup
A map-based lookup.
|
class |
MarkerLookup
Looks-up markers.
|
class |
PropertiesLookup
A lookup designed for
Properties defined in the configuration. |
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.
|
class |
UpperLookup
Converts values to upper case.
|
Modifier and Type | Method and Description |
---|---|
StrLookup |
Interpolator.getDefaultLookup() |
StrLookup |
StrSubstitutor.getVariableResolver()
Gets the VariableResolver that is used to lookup variables.
|
Modifier and Type | Method and Description |
---|---|
Map<String,StrLookup> |
Interpolator.getStrLookupMap() |
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-2023 The 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.