Constructor
(package) new ConsoleOutput(console)
Creates a new ConsoleOutput.
Parameters:
Name | Type | Description |
---|---|---|
console |
rune.console.Console | Reference to the console to which the object is connected. |
- Source:
Methods
clear() → {undefined}
Clears previous text strings from the console.
- Source:
Returns:
- Type
- undefined
log(str) → {undefined}
Outputs a string to the console.
Parameters:
Name | Type | Description |
---|---|---|
str |
string | String to log. |
- Source:
Returns:
- Type
- undefined