The Console class provides a mechanism to control what is displayed in the application's output console. Text can be appended, the console can be shown or hidden, and the text inside the console can be cleared.
Clears all text in the output console
Shows the console if the flag is true. Hides the console if the flag is false. If flag isn't specified, the console is shown.
Outputs the string passed to the text parameter to the console. A new-line is not automatically added.
Outputs the string passed to the text parameter to the console. A new-line is automatically added to the string.