OutputHandler

open class OutputHandler

The output handler is to handle System.out.print in the way so you can save all outputs to a string and read it!

Deprecated

Moved this function to the new ConsoleManager.

Functions

Link copied to clipboard
open fun clearOutput()
Clear the output and remove all lines.
Link copied to clipboard
open fun disable()
To disable the output recorder call this function!
Link copied to clipboard
open fun enable()
To enable the output recorder call this function!
Link copied to clipboard
open fun getOutput(): Array<String>
Get the last 1024 lines from the output.

Properties

Link copied to clipboard
private open var storeRows: Int