You can use the consoleLib.displayAtLine() system
function to display a string on a specified line within the active
window.
The display begins at the first position in the line.
Syntax
consoleLib.displayAtLine(
textSTRINGinlineINTin)
text
The
string to display.
line
The number of the line on which to display the string.