Class ParameterFormatter.MessagePatternAnalysis
java.lang.Object
org.apache.logging.log4j.message.ParameterFormatter.MessagePatternAnalysis
- All Implemented Interfaces:
Serializable
- Enclosing class:
ParameterFormatter
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) booleanFlag indicating if an escaped (i.e., `\`-prefixed) character is found.private static final intThe size of theplaceholderCharIndicesbuffer to be allocated if it is found to be null.private static final intThe sizeplaceholderCharIndicesbuffer will be extended with if it has found to be insufficient.(package private) int[]The array of indices pointing to the first character of the found argument placeholder occurrences.(package private) intThe total number of argument placeholder occurrences.private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidensurePlaceholderCharIndicesCapacity(int argCount)
-
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_SIZEThe size of theplaceholderCharIndicesbuffer 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_INCREMENTThe sizeplaceholderCharIndicesbuffer will be extended with if it has found to be insufficient.- See Also:
-
placeholderCount
int placeholderCountThe total number of argument placeholder occurrences. -
placeholderCharIndices
int[] placeholderCharIndicesThe array of indices pointing to the first character of the found argument placeholder occurrences. -
escapedCharFound
boolean escapedCharFoundFlag indicating if an escaped (i.e., `\`-prefixed) character is found.
-
-
Constructor Details
-
MessagePatternAnalysis
MessagePatternAnalysis()
-
-
Method Details
-
ensurePlaceholderCharIndicesCapacity
private void ensurePlaceholderCharIndicesCapacity(int argCount)
-