enable

open fun enable()

Enable the loading animation and take over print stream to prevent output while loading. Cant be used with ConsoleManager together.


open fun enable(takeOverSystemOutputStream: Boolean)

Enable the loading animation. Cant be used with ConsoleManager together.

Parameters

takeOverSystemOutputStream

Take over the output stream from System.out to prevent output while showing loading animation?