Default Printf Message Parser
Default implementation of the printf message parser. This parser supports all the place-holders available in String#format but can be extended, if desired, for additional behavior For consistency it is recommended, but not required, that custom printf parsers always extend from this class.
This class is immutable and thread safe (and any subclasses must also be so).
Inherited properties
Link copied to clipboard
The maximum allowed index (this should correspond to the MAX_ALLOWED_WIDTH in FormatOptions because at times it is ambiguous as to which is being parsed).
Functions
Link copied to clipboard
Link copied to clipboard
public int parsePrintfTerm(MessageBuilder<? extends Object> builder, int index, String message, int termStart, int specStart, int formatStart)
Parses a single printf-like term from a log message into a message template builder.