appendFormattedMessage

@CanIgnoreReturnValue()
public static StringBuilder appendFormattedMessage(LogData data, StringBuilder out)

Appends the formatted log message of the given log data to the given buffer.

Note that the LogData need not have a template context or arguments, it might just have a literal argument, which will be appended without additional formatting.

Return

the given buffer (for method chaining).

Parameters

data

the log data with the message to be appended.

out

a buffer to append to.