595 B
595 B
console
The console object provides various logging, debugging, and output methods.
spam(msg)
Output a spam-level message for very verbose logging.
debug(msg)
Output a debug-level message.
info(msg)
Output info level message.
warn(msg)
Output warn level message.
log(msg)
Output directly to in game console.
error(e)
Output error level message, and print stacktrace.
panic(e)
Output a panic-level message and exit the program.
assert(op, str = assertion failed [value '${op}'])
If the condition is false, print an error and panic.