Message Utils
Static utilities for classes wishing to implement their own log message formatting. None of the methods here are required in a formatter, but they should help solve problems common to log message formatting.
See also
<a href="https://github. com/google/flogger/blob/cb9e836a897d36a78309ee8badf5cad4e6a2d3d8/api/src/main/java/com/google/common/flogger/backend/Message Utils. java">
Original Java code of Google Flogger
Functions
Link copied to clipboard
@CanIgnoreReturnValue()
Appends log-site information in the default format, including a trailing space.
Link copied to clipboard
Returns a string representation of the user supplied Formattable, accounting for any possible runtime exceptions.
Link copied to clipboard
Returns a string representation of the user supplied value accounting for any possible runtime exceptions.