StdOutLine

data class StdOutLine(val text: String, val fromErr: Boolean) : RunEvent(source)

One line of output captured from System.out or System.err while a GUI host (e.g. kslSingleApp(...)) had its Capture stdout toggle enabled. The framework itself does not emit these — they are injected by the host's capture machinery into the host's console pipeline so user println output appears alongside framework events. Listeners that filter on framework lifecycle events should ignore this variant.

Constructors

Link copied to clipboard
constructor(text: String, fromErr: Boolean)

Properties

Link copied to clipboard

true if the line was written to System.err; false if to System.out. Hosts use this to drive severity classification (stderr → ERROR, stdout → INFO).

Link copied to clipboard

the captured line, without the trailing newline.