Class ParameterFormatter.MessagePatternAnalysis

java.lang.Object
org.apache.logging.log4j.message.ParameterFormatter.MessagePatternAnalysis
All Implemented Interfaces:
Serializable
Enclosing class:
ParameterFormatter

static final class ParameterFormatter.MessagePatternAnalysis extends Object implements Serializable
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • PLACEHOLDER_CHAR_INDEX_BUFFER_INITIAL_SIZE

      private static final int PLACEHOLDER_CHAR_INDEX_BUFFER_INITIAL_SIZE
      The size of the placeholderCharIndices buffer to be allocated if it is found to be null.
      See Also:
    • PLACEHOLDER_CHAR_INDEX_BUFFER_SIZE_INCREMENT

      private static final int PLACEHOLDER_CHAR_INDEX_BUFFER_SIZE_INCREMENT
      The size placeholderCharIndices buffer will be extended with if it has found to be insufficient.
      See Also:
    • placeholderCount

      int placeholderCount
      The total number of argument placeholder occurrences.
    • placeholderCharIndices

      int[] placeholderCharIndices
      The array of indices pointing to the first character of the found argument placeholder occurrences.
    • escapedCharFound

      boolean escapedCharFound
      Flag indicating if an escaped (i.e., `\`-prefixed) character is found.
  • Constructor Details

    • MessagePatternAnalysis

      MessagePatternAnalysis()
  • Method Details

    • ensurePlaceholderCharIndicesCapacity

      private void ensurePlaceholderCharIndicesCapacity(int argCount)