Package | Description |
---|---|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.0.
|
org.apache.logging.log4j.core.lookup |
Log4j 2.0 Lookups.
|
org.apache.logging.log4j.web |
The classes in this package are responsible for properly initializing and deinitializing Log4j in a Java EE web
application.
|
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 |
ContextMapLookup
Looks up keys from system properties.
|
class |
DateLookup
Formats the current date or the date in the LogEvent.
|
class |
EnvironmentLookup
Looks up keys from environment variables.
|
class |
Interpolator
The Interpolator is a StrLookup that acts as a proxy for all the other StrLookups.
|
class |
JndiLookup
Looks up keys from JNDI resources.
|
class |
MapLookup
The basis for a lookup based on a Map.
|
class |
ResourceBundleLookup
Looks up keys from resource bundles.
|
class |
StructuredDataLookup
Looks up keys from system properties.
|
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 |
---|
Interpolator(StrLookup defaultLookup) |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
WebLookup |
Copyright © 1999-2018 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.