StdOut

class StdOut(substitutionEngineType: StreamSubstitutionType, threadLocalStreamSubstitution: Boolean) : StreamSubstitutionManager<PrintStream>

Constructors

Link copied to clipboard
constructor(substitutionEngineType: StreamSubstitutionType, threadLocalStreamSubstitution: Boolean)

Functions

Link copied to clipboard
fun <T> withSubstitutedStreams(systemStreamFactory: (initial: PrintStream?) -> PrintStream, kernelStreamFactory: (initial: PrintStream?) -> PrintStream?, body: () -> T): T