StreamSubstitutionManager
constructor(systemStreamProp: KMutableProperty0<StreamT>, kernelStreamProp: KMutableProperty0<StreamT>?, delegatingStreamFactory: (delegateFactory: () -> StreamT) -> StreamT, substitutionEngineType: StreamSubstitutionType)
Parameters
StreamT
The type of the stream, which must be a subtype of Closeable.
systemStreamProp
A mutable property representing the system stream. I.e., for STDOUT, it's the pair of System.out and System.setOut
kernelStreamProp
A mutable property representing the kernel stream, which can be null. Kernel stream is a separate globally available property, but it might be accessed only by the kernel facilities, not by the external code.