setOutput

fun setOutput(stream: PrintStream)

Sets the output stream used for error and diagnostic messages.

Defaults to System.err. Useful for redirecting KConfig output in testing or custom logging scenarios.

Since

1.0

Parameters

stream

The PrintStream to use for output.