The console
object provides a common API for the Javascript console. In JetScript, it mainly provides a logging interface that interfaces with X-Plane's log.
None
Console.assert()
tests an assertion, printing a log message if it is false.Console.debug()
prints a debug message to the console and Log.txt.Console.error()
prints an error message to the console and Log.txt.Console.info()
prints a informational message to the console and Log.txt.Console.log()
prints a log message to the console and Log.txt.Console.warn()
prints a warning message to the console and Log.txt.None
> "A log message"
a log message
console
. Only a subset of standard functionality is currently implemented.