brief

inline fun StringBuilder.brief(printer: StringBuilder.() -> Unit)

Execute the supplied function in the context of a new StringBuilder. If the result is shorter than maxBrief, then replace each internal cluster of newline and tabs with an individual space. Finally, write the complete result to the receiver.

Receiver

The final target for string rendition.

Parameters

printer

How to produce the string.