Uses of Interface
org.apache.logging.log4j.core.pattern.PatternConverter
Packages that use PatternConverter
Package
Description
Log4j 2 Layout support.
Provides classes implementing format specifiers in conversion patterns.
-
Uses of PatternConverter in org.apache.log4j.pattern
Classes in org.apache.log4j.pattern that implement PatternConverterModifier and TypeClassDescriptionfinal classAble to handle the contents of the LogEvent's MDC and either output the entire contents of the properties, or to output the value of a specific key within the property bundle when this pattern converter has the option set.final classReturns the event's NDC in a StringBuilder. -
Uses of PatternConverter in org.apache.logging.log4j.core.layout
Method parameters in org.apache.logging.log4j.core.layout with type arguments of type PatternConverterModifier and TypeMethodDescriptionprivate static PatternParserRfc5424Layout.createPatternParser(Configuration config, Class<? extends PatternConverter> filterClass) Create a PatternParser. -
Uses of PatternConverter in org.apache.logging.log4j.core.pattern
Subinterfaces of PatternConverter in org.apache.logging.log4j.core.patternModifier and TypeInterfaceDescriptioninterfacePatternConverters implement this interface to accept an array of objects when formatting.Classes in org.apache.logging.log4j.core.pattern that implement PatternConverterModifier and TypeClassDescriptionclassAbstractPatternConverter is an abstract class that provides the formatting functionality that derived classes need.classStyle pattern converter.static final classBlack style pattern converter.static final classBlue style pattern converter.static final classCyan style pattern converter.static final classGreen style pattern converter.static final classMagenta style pattern converter.static final classRed style pattern converter.static final classWhite style pattern converter.static final classYellow style pattern converter.final classFormats the class name of the site of the logging request.final classConverts and formats the event's date in a StringBuilder.final classConverter that encodes the output from a pattern using a specified format.final classFormats the EndOfBatch.classEquals pattern converter.final classEquals ignore case pattern converter.final classEquals pattern converter.final classOutputs the Throwable portion of the LoggingEvent as a full stack trace unless this converter's option is 'short', where it just outputs the first line of the trace, or if the number of lines to print is explicitly specified.final classReturns the event's line location information in a StringBuilder.final classFormat the event's line location information.final classHighlight pattern converter.final classFormats an integer.classReturns the event's level in a StringBuilder.private static final classprivate static final classfinal classReturns the event's line location information in a StringBuilder.final classFormats a line separator.final classFormats a string literal.classLoggingEventPatternConverter is a base class for pattern converters that can format information from instances of LoggingEvent.final classFormats the Logger FQCN.final classFormats a logger name.final classAble 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 classReturns events' full marker string in a StringBuilder.final classAppends an event's maker name to a StringBuilder.final classMax length pattern converter.final classAble 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.classReturns the event's rendered message in a StringBuilder.private static final classprivate static final classprivate static final classfinal classReturns the event's line location information in a StringBuilder.classAbstract base class for other pattern converters which can return only parts of their name.final classConverts and formats the event's nanoTime in a StringBuilder.final classReturns the event's NDC in a StringBuilder.final classfinal classReplacement pattern converter.classReturns the relative time in milliseconds since JVM Startup.final classEquals pattern converter.final classOutputs the Throwable portion of the LoggingEvent as a full stack trace unless this converter's option is 'short', where it just outputs the first line of the trace, or if the number of lines to print is explicitly specified.final classFormats the event sequence number.(package private) classFormats a string literal without substitution.private static final classprivate static final classprivate static final classfinal classStyle pattern converter.final classFormats the event thread ID.final classFormats the event thread name.final classFormats the event thread priority.classOutputs the Throwable portion of the LoggingEvent as a full stack trace unless this converter's option is 'short', where it just outputs the first line of the trace, or if the number of lines to print is explicitly specified.final classFormats the event sequence number.final classVariablesNotEmpty pattern converter.Fields in org.apache.logging.log4j.core.pattern with type parameters of type PatternConverterModifier and TypeFieldDescriptionprivate final Map<String, Class<PatternConverter>> PatternParser.converterRulesMethods in org.apache.logging.log4j.core.pattern that return PatternConverterModifier and TypeMethodDescriptionprivate PatternConverterPatternParser.createConverter(String converterId, StringBuilder currentLiteral, Map<String, Class<PatternConverter>> rules, List<String> options, boolean disableAnsi, boolean noConsoleNoAnsi) Creates a new PatternConverter.static PatternConverterFileDatePatternConverter.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 TypeMethodDescriptionprivate PatternConverterPatternParser.createConverter(String converterId, StringBuilder currentLiteral, Map<String, Class<PatternConverter>> rules, List<String> options, boolean disableAnsi, boolean noConsoleNoAnsi) Creates a new PatternConverter.private intPatternParser.finalizeConverter(char c, String pattern, int start, StringBuilder currentLiteral, FormattingInfo formattingInfo, Map<String, Class<PatternConverter>> rules, List<PatternConverter> patternConverters, List<FormattingInfo> formattingInfos, boolean disableAnsi, boolean noConsoleNoAnsi, boolean convertBackslashes) Processes a format specifier sequence.private intPatternParser.finalizeConverter(char c, String pattern, int start, StringBuilder currentLiteral, FormattingInfo formattingInfo, Map<String, Class<PatternConverter>> rules, List<PatternConverter> patternConverters, List<FormattingInfo> formattingInfos, boolean disableAnsi, boolean noConsoleNoAnsi, boolean convertBackslashes) Processes a format specifier sequence.voidPatternParser.parse(String pattern, List<PatternConverter> patternConverters, List<FormattingInfo> formattingInfos, boolean noConsoleNoAnsi, boolean convertBackslashes) Parse a format specifier.voidPatternParser.parse(String pattern, List<PatternConverter> patternConverters, List<FormattingInfo> formattingInfos, boolean disableAnsi, boolean noConsoleNoAnsi, boolean convertBackslashes) Parse a format specifier.