Use one of these methods to log data to the browser console:
// Passed to `console.log`
form.log("message");
// Passed to `console.error`
form.error("error message");
Note that arguments are passed through JSON.stringify
as they exit the sandbox.