object DebugPrinter
source · line 41public
public object DebugPrinter
Formats ValueView observations with cycle handling, redaction, and bounded presentation.
function format
source · line 56public
public fun format(view: ValueView, options: DebugOptions = DebugOptions()): String
Returns the same debug representation as write in an immutable string.
parameter options
source · line 56public
options: DebugOptions = DebugOptions()
parameter view
source · line 56public
view: ValueView
function write
source · line 46public
public fun write(view: ValueView, writer: TextWriter, options: DebugOptions = DebugOptions()): Unit
Writes an observation to the supplied text destination. Invalid negative limits throw IllegalArgumentException.
parameter writer
source · line 46public
writer: TextWriter
parameter view
source · line 46public
view: ValueView
parameter options
source · line 46public
options: DebugOptions = DebugOptions()