Package | Description |
---|---|
org.apache.logging.log4j.core.appender.rolling |
Rolling File Appender and support classes.
|
org.apache.logging.log4j.core.appender.rolling.action |
Support classes for the Rolling File Appender.
|
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)
Formats file name.
|
Constructor and Description |
---|
DefaultRolloverStrategy(int minIndex,
int maxIndex,
boolean useMax,
int compressionLevel,
StrSubstitutor subst,
Action[] customActions,
boolean stopCustomActionsOnError)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
StrSubstitutor |
AbstractPathAction.getStrSubstitutor() |
Constructor and Description |
---|
AbstractPathAction(String basePath,
boolean followSymbolicLinks,
int maxDepth,
PathCondition[] pathFilters,
StrSubstitutor subst)
Creates a new AbstractPathAction that starts scanning for files to process from the specified base path.
|
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.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 aSubstitutor) |
PluginVisitor<A> |
PluginVisitor.setStrSubstitutor(StrSubstitutor substitutor)
Sets the StrSubstitutor to use for converting raw strings before type conversion.
|
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.
|
Copyright © 1999-2017 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.