safeFormatTo

public static void safeFormatTo(Formattable value, StringBuilder out, FormatOptions options)

Returns a string representation of the user supplied Formattable, accounting for any possible runtime exceptions.

Parameters

value

the value to be formatted.

out

the buffer into which to format it.

options

the format options (extracted from a printf placeholder in the log message).