Base Message Formatter
The default formatter for log messages and arguments.
This formatter can be overridden to modify the behaviour of the ParameterVisitor methods, but this is not expected to be common. Most logger backends will only ever need to use appendFormattedMessage.
See also
<a href="https://github. com/google/flogger/blob/cb9e836a897d36a78309ee8badf5cad4e6a2d3d8/api/src/main/java/com/google/common/flogger/backend/Base Message Formatter. java">
Original Java code of Google Flogger
Properties
Functions
Link copied to clipboard
Adds the specified parameter to the format instance currently being built.
Link copied to clipboard
@CanIgnoreReturnValue()
Appends the formatted log message of the given log data to the given buffer.
Link copied to clipboard
Returns the implementation specific result of parsing the current log message.
Link copied to clipboard
Visits a log message argument with formatting specified by
%s, %d etc...Link copied to clipboard
Visits a date/time log message argument with formatting specified by
%t or similar.Link copied to clipboard
Visits a missing argument.
Link copied to clipboard
Visits a log message argument for which formatting has already occurred.
Inherited functions
Link copied to clipboard
Called by parser implementations to signify that the parsing of the next parameter is complete.
Link copied to clipboard
Returns the expected number of arguments to be formatted by this message.
Link copied to clipboard
Returns the log format message to be parsed by this builder.
Link copied to clipboard
Returns the parser used to process the log format message in this builder.