Console¶
The console module allows to output messages into the studio log dock panel.
Reference¶
Examples¶
local Console = require 'engine/console'
local System = require 'engine/system'
Console.log("Hello World!")
Console.debug("The current time is " .. tostring(System.getTime()))
Console.warn("This is a warning")
Console.error("Something went wrong!")