Package org.apache.logging.log4j.core.pattern
package org.apache.logging.log4j.core.pattern
-
ClassDescriptionAbstractPatternConverter is an abstract class that provides the formatting functionality that derived classes need.Style pattern converter.Black style pattern converter.Blue style pattern converter.Cyan style pattern converter.Green style pattern converter.Magenta style pattern converter.Red style pattern converter.White style pattern converter.Yellow style pattern converter.Marks classes that implement ANSI escape code conversions.Converts text into ANSI escape sequences.
PatternConverters implement this interface to accept an array of objects when formatting.CachedDateFormat optimizes the performance of a wrapped DateFormat.Formats the class name of the site of the logging request.Resource information (i.e., the enclosing JAR file and its version) of a class.Identifies the keys that are associated with a PatternConverter.Converts and formats the event's date in a StringBuilder.Specialized abbreviator that shortens all words to the first char except the indicated number of rightmost words.Converter that encodes the output from a pattern using a specified format.Formats the EndOfBatch.Equals pattern converter.Equals ignore case pattern converter.Equals pattern converter.ThrowablePatternConvertervariant where the renderedStackTraceElements are enriched with the enclosing JAR file and its version information, if available.Formats a date by delegating toDatePatternConverter.Returns the event's line location information in a StringBuilder.Modifies the output of a pattern converter for a specified minimum and maximum width and alignment.Format the event's line location information.Highlight pattern converter.TODO Renders an input as HTML output.Formats an integer.Renders an input as ANSI escaped output.Returns the event's level in a StringBuilder.Returns the event's line location information in a StringBuilder.Formats a line separator.Formats a string literal.LoggingEventPatternConverter is a base class for pattern converters that can format information from instances of LoggingEvent.Formats the Logger FQCN.Formats a logger name.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.Returns events' full marker string in a StringBuilder.Appends an event's maker name to a StringBuilder.Max length pattern converter.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.Returns the event's rendered message in a StringBuilder.Returns the event's line location information in a StringBuilder.NameAbbreviator generates abbreviated logger and class names.Abbreviator that drops starting path elements.When the name is reduced in length by cutting parts, there can be two ways to do it.Abbreviator that simply appends full name to buffer.Pattern abbreviator.Fragment of an pattern abbreviator.Represents named date & time patterns for formatting log timestamps.Abstract base class for other pattern converters which can return only parts of their name.Converts and formats the event's nanoTime in a StringBuilder.Returns the event's NDC in a StringBuilder.Interface that all PatternConverters must implement.Most of the work of thePatternLayoutclass is delegated to the PatternParser class.The states the parser can be in while parsing the pattern.Renders input unchanged.Replace tokens in the LogEvent message.Replacement pattern converter.Returns the relative time in milliseconds since JVM Startup.Equals pattern converter.ThrowablePatternConvertervariant where the stack trace causal chain is rendered in reverse order.Formats the event sequence number.Formats a string literal without substitution.Style pattern converter.Renders an input to an output.Formats the event thread ID.Formats the event thread name.Formats the event thread priority.ThrowableStackTraceRenderervariant where the renderedStackTraceElements are enriched with the enclosing JAR file and its version information, if available.ThrowablePropertyRendererFactoryimplementation where the causal chain will be processed in reverse order.ThrowableStackTraceRenderervariant where the stack trace causal chain is processed in reverse order.A factory ofThrowableRendererimplementations for extracting certain properties from aThrowable.Contract for renderingThrowables inThrowablePatternConverteret al.ThrowableRendererimplementation for rendering stack traces.Invariants associated with aThrowableAThrowableStackTraceRendererfactory contract.Formats a UUID.VariablesNotEmpty pattern converter.