Uses of Class
org.apache.logging.log4j.core.lookup.StrSubstitutor
Package
Description
Log4j 2 Appenders.
Rolling File Appender and support classes.
Support classes for the Rolling File Appender.
Configuration of Log4j 2.
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
Log4j 2 Lookups.
-
Uses of StrSubstitutor in org.apache.logging.log4j.core.appender
Modifier and TypeMethodDescriptionprotected StrSubstitutor
AbstractManager.getStrSubstitutor()
Gets my configuration's StrSubstitutor or null. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.appender.rolling
Modifier and TypeFieldDescriptionprotected final StrSubstitutor
AbstractRolloverStrategy.strSubstitutor
Modifier and TypeMethodDescriptionfinal void
PatternProcessor.formatFileName
(StrSubstitutor subst, StringBuilder buf, boolean useCurrentTime, Object obj) Formats file name.final void
PatternProcessor.formatFileName
(StrSubstitutor subst, StringBuilder buf, Object obj) Formats file name.ModifierConstructorDescriptionprotected
AbstractRolloverStrategy
(StrSubstitutor strSubstitutor) protected
DefaultRolloverStrategy
(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError) Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterprotected
DefaultRolloverStrategy
(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, String tempCompressedFilePatternString) Constructs a new instance.protected
DirectWriteRolloverStrategy
(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError) Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterprotected
DirectWriteRolloverStrategy
(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, String tempCompressedFilePatternString) Constructs a new instance. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.appender.rolling.action
Modifier and TypeMethodDescriptionPosixViewAttributeAction.Builder.withSubst
(StrSubstitutor subst) Define string substituter.ModifierConstructorDescriptionprotected
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. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.config
Modifier and TypeMethodDescriptionAbstractConfiguration.getConfigurationStrSubstitutor()
default StrSubstitutor
Configuration.getConfigurationStrSubstitutor()
AbstractConfiguration.getStrSubstitutor()
Configuration.getStrSubstitutor()
Modifier and TypeMethodDescriptionProperty.evaluate
(StrSubstitutor substitutor) Evaluate this property with the provided substitutor. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.config.plugins.visitors
Modifier and TypeMethodDescriptionAbstractPluginVisitor.setStrSubstitutor
(StrSubstitutor aSubstitutor) PluginVisitor.setStrSubstitutor
(StrSubstitutor substitutor) Sets the StrSubstitutor to use for converting raw strings before type conversion. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.lookup
Modifier and TypeClassDescriptionfinal class
RuntimeStrSubstitutor
is aStrSubstitutor
which only supports recursive evaluation of lookups.final class
RuntimeStrSubstitutor
is aStrSubstitutor
which only supports evaluation of top-level lookups.Modifier and TypeMethodDescriptionStrSubstitutor.setValueDelimiter
(char valueDelimiter) Sets the variable default value delimiter to use.StrSubstitutor.setValueDelimiter
(String valueDelimiter) Sets the variable default value delimiter to use.StrSubstitutor.setValueDelimiterMatcher
(StrMatcher valueDelimiterMatcher) Sets the variable default value delimiter matcher to use.StrSubstitutor.setVariablePrefix
(char prefix) Sets the variable prefix to use.StrSubstitutor.setVariablePrefix
(String prefix) Sets the variable prefix to use.StrSubstitutor.setVariablePrefixMatcher
(StrMatcher prefixMatcher) Sets the variable prefix matcher currently in use.StrSubstitutor.setVariableSuffix
(char suffix) Sets the variable suffix to use.StrSubstitutor.setVariableSuffix
(String suffix) Sets the variable suffix to use.StrSubstitutor.setVariableSuffixMatcher
(StrMatcher suffixMatcher) Sets the variable suffix matcher currently in use.ModifierConstructorDescription