Namespace: console

console

The console namespace contains functions for writing to standard output.

Methods

(static) error(…var_args)

Works the same as console.log except it prints to standard error stream rather than standard out. This function does not throw an error.
Parameters:
Name Type Attributes Description
var_args * <repeatable>
Items to print to stderr.

(static) log(…var_args)

Takes a list of items as parameters, converts them to String, and prints them with spaces in between each item. Prints a new line at the end.
Parameters:
Name Type Attributes Description
var_args * <repeatable>
Items to print

(static) put(…var_args)

Similar to console.log except the newline is omitted at the end.
Parameters:
Name Type Attributes Description
var_args * <repeatable>
Items to print