Uses of Class
org.apache.logging.log4j.core.lookup.StrSubstitutor
Packages that use 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
Methods in org.apache.logging.log4j.core.appender that return StrSubstitutorModifier and TypeMethodDescriptionprotected StrSubstitutor
AbstractManager.getStrSubstitutor()
Gets my configuration's StrSubstitutor or null. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.appender.rolling
Fields in org.apache.logging.log4j.core.appender.rolling declared as StrSubstitutorModifier and TypeFieldDescriptionprotected final StrSubstitutor
AbstractRolloverStrategy.strSubstitutor
Methods in org.apache.logging.log4j.core.appender.rolling that return StrSubstitutorMethods in org.apache.logging.log4j.core.appender.rolling with parameters of type StrSubstitutorModifier 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.Constructors in org.apache.logging.log4j.core.appender.rolling with parameters of type StrSubstitutorModifierConstructorDescriptionprotected
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
Methods in org.apache.logging.log4j.core.appender.rolling.action that return StrSubstitutorMethods in org.apache.logging.log4j.core.appender.rolling.action with parameters of type StrSubstitutorModifier and TypeMethodDescriptionPosixViewAttributeAction.Builder.withSubst
(StrSubstitutor subst) Define string substituter.Constructors in org.apache.logging.log4j.core.appender.rolling.action with parameters of type StrSubstitutorModifierConstructorDescriptionprotected
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
Fields in org.apache.logging.log4j.core.config declared as StrSubstitutorMethods in org.apache.logging.log4j.core.config that return StrSubstitutorModifier and TypeMethodDescriptionAbstractConfiguration.getConfigurationStrSubstitutor()
default StrSubstitutor
Configuration.getConfigurationStrSubstitutor()
AbstractConfiguration.getStrSubstitutor()
Configuration.getStrSubstitutor()
Methods in org.apache.logging.log4j.core.config with parameters of type StrSubstitutorModifier and TypeMethodDescriptionProperty.evaluate
(StrSubstitutor substitutor) Evaluate this property with the provided substitutor. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.config.plugins.visitors
Fields in org.apache.logging.log4j.core.config.plugins.visitors declared as StrSubstitutorMethods in org.apache.logging.log4j.core.config.plugins.visitors with parameters of type StrSubstitutorModifier 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
Subclasses of StrSubstitutor in org.apache.logging.log4j.core.lookupModifier 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.Methods in org.apache.logging.log4j.core.lookup that return StrSubstitutorModifier 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.Constructors in org.apache.logging.log4j.core.lookup with parameters of type StrSubstitutorModifierConstructorDescription