print

abstract fun print(text: String, error: Boolean)

Show some text to the user.

Parameters

text

The text to display. May or may not contain a tailing newline.

error

If true, the text is an error message, and should be printed in an alternate stream or format, if applicable.