Uses of Interface
org.apache.logging.log4j.core.pattern.PatternConverter
Packages that use PatternConverter
Package
Description
Provides classes implementing format specifiers in conversion patterns.
-
Uses of PatternConverter in org.apache.logging.log4j.core.pattern
Subinterfaces of PatternConverter in org.apache.logging.log4j.core.patternModifier and TypeInterfaceDescriptioninterface
PatternConverter
s implement this interface to accept an array of objects when formatting.Classes in org.apache.logging.log4j.core.pattern that implement PatternConverterModifier and TypeClassDescriptionclass
AbstractPatternConverter is an abstract class that provides the formatting functionality that derived classes need.class
Style pattern converter.static final class
Black style pattern converter.static final class
Blue style pattern converter.static final class
Cyan style pattern converter.static final class
Green style pattern converter.static final class
Magenta style pattern converter.static final class
Red style pattern converter.static final class
White style pattern converter.static final class
Yellow style pattern converter.final class
Formats the class name of the site of the logging request.final class
Converts and formats the event's date in a StringBuilder.final class
Converter that encodes the output from a pattern using a specified format.final class
Formats the EndOfBatch.class
Equals pattern converter.final class
Equals ignore case pattern converter.final class
Equals pattern converter.final class
ThrowablePatternConverter
variant where the renderedStackTraceElement
s are enriched with the enclosing JAR file and its version information, if available.final class
Returns the event's line location information in a StringBuilder.final class
Format the event's line location information.final class
Highlight pattern converter.final class
Formats an integer.class
Returns the event's level in a StringBuilder.final class
Returns the event's line location information in a StringBuilder.final class
Formats a line separator.final class
Formats a string literal.class
LoggingEventPatternConverter is a base class for pattern converters that can format information from instances of LoggingEvent.final class
Formats the Logger FQCN.final class
Formats a logger name.final class
Able to handle the contents of the LogEvent's MapMessage and either output the entire contents of the properties in a similar format to the java.util.Hashtable.toString(), or to output the value of a specific key within the Map.final class
Returns events' full marker string in a StringBuilder.final class
Appends an event's maker name to a StringBuilder.final class
Max length pattern converter.final class
Able to handle the contents of the LogEvent's MDC and either output the entire contents of the properties in a similar format to the java.util.Hashtable.toString(), or to output the value of a specific key within the property bundle when this pattern converter has the option set.class
Returns the event's rendered message in a StringBuilder.final class
Returns the event's line location information in a StringBuilder.class
Abstract base class for other pattern converters which can return only parts of their name.final class
Converts and formats the event's nanoTime in a StringBuilder.final class
Returns the event's NDC in a StringBuilder.final class
final class
Replacement pattern converter.class
Returns the relative time in milliseconds since JVM Startup.final class
Equals pattern converter.final class
ThrowablePatternConverter
variant where the stack trace causal chain is rendered in reverse order.final class
Formats the event sequence number.final class
Style pattern converter.final class
Formats the event thread ID.final class
Formats the event thread name.final class
Formats the event thread priority.class
final class
Formats the event sequence number.final class
VariablesNotEmpty pattern converter.Methods in org.apache.logging.log4j.core.pattern that return PatternConverterModifier and TypeMethodDescriptionstatic PatternConverter
FileDatePatternConverter.newInstance
(String[] options) Obtains an instance of pattern converter.Method parameters in org.apache.logging.log4j.core.pattern with type arguments of type PatternConverterModifier and TypeMethodDescriptionvoid
PatternParser.parse
(String pattern, List<PatternConverter> patternConverters, List<FormattingInfo> formattingInfos, boolean noConsoleNoAnsi, boolean convertBackslashes) Parse a format specifier.void
PatternParser.parse
(String pattern, List<PatternConverter> patternConverters, List<FormattingInfo> formattingInfos, boolean disableAnsi, boolean noConsoleNoAnsi, boolean convertBackslashes) Parse a format specifier.