Package | Description |
---|---|
org.apache.logging.log4j.core.appender.rolling |
Rolling File Appender and support classes.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.config.plugins.visitors |
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
|
org.apache.logging.log4j.core.lookup |
Log4j 2 Lookups.
|
Modifier and Type | Method and Description |
---|---|
void |
PatternProcessor.formatFileName(StrSubstitutor subst,
StringBuilder buf,
Object obj)
Format file name.
|
Constructor and Description |
---|
DefaultRolloverStrategy(int minIndex,
int maxIndex,
boolean useMax,
int compressionLevel,
StrSubstitutor subst)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
RingBufferLogEvent.mergePropertiesIntoContextMap(Map<Property,Boolean> properties,
StrSubstitutor strSubstitutor)
Merges the contents of the specified map into the contextMap, after replacing any variables in the property
values with the StrSubstitutor-supplied actual values.
|
Modifier and Type | Field and Description |
---|---|
protected StrSubstitutor |
ConfigurationFactory.substitutor |
Modifier and Type | Method and Description |
---|---|
StrSubstitutor |
AbstractConfiguration.getConfigurationStrSubstitutor() |
StrSubstitutor |
AbstractConfiguration.getStrSubstitutor() |
StrSubstitutor |
Configuration.getStrSubstitutor() |
Modifier and Type | Field and Description |
---|---|
protected StrSubstitutor |
AbstractPluginVisitor.substitutor |
Modifier and Type | Method and Description |
---|---|
PluginVisitor<A> |
AbstractPluginVisitor.setStrSubstitutor(StrSubstitutor substitutor) |
PluginVisitor<A> |
PluginVisitor.setStrSubstitutor(StrSubstitutor substitutor)
Sets the StrSubstitutor to use for converting raw strings before type conversion.
|
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationStrSubstitutor
RuntimeStrSubstitutor is a StrSubstitutor which only supports recursive evaluation of lookups. |
class |
RuntimeStrSubstitutor
RuntimeStrSubstitutor is a StrSubstitutor which only supports evaluation of top-level lookups. |
Modifier and Type | Method and Description |
---|---|
StrSubstitutor |
StrSubstitutor.setValueDelimiter(char valueDelimiter)
Sets the variable default value delimiter to use.
|
StrSubstitutor |
StrSubstitutor.setValueDelimiter(String valueDelimiter)
Sets the variable default value delimiter to use.
|
StrSubstitutor |
StrSubstitutor.setValueDelimiterMatcher(StrMatcher valueDelimiterMatcher)
Sets the variable default value delimiter matcher to use.
|
StrSubstitutor |
StrSubstitutor.setVariablePrefix(char prefix)
Sets the variable prefix to use.
|
StrSubstitutor |
StrSubstitutor.setVariablePrefix(String prefix)
Sets the variable prefix to use.
|
StrSubstitutor |
StrSubstitutor.setVariablePrefixMatcher(StrMatcher prefixMatcher)
Sets the variable prefix matcher currently in use.
|
StrSubstitutor |
StrSubstitutor.setVariableSuffix(char suffix)
Sets the variable suffix to use.
|
StrSubstitutor |
StrSubstitutor.setVariableSuffix(String suffix)
Sets the variable suffix to use.
|
StrSubstitutor |
StrSubstitutor.setVariableSuffixMatcher(StrMatcher suffixMatcher)
Sets the variable suffix matcher currently in use.
|
Constructor and Description |
---|
ConfigurationStrSubstitutor(StrSubstitutor other) |
RuntimeStrSubstitutor(StrSubstitutor other) |
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.