The Console class provides a mechanism to control what is displayed in the application's output window. Text can be appended, the window can be shown or hidden, and the text inside the window can be cleared.
Clears all text in the output console
Shows the output window if the flag is true. Hides the output window if the flag is false. If flag isn't specified, the output window 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.