console.log

From SmartBots Developers Docs
Bot PlaygroundBuilt-in Functions
Revision as of 15:52, 28 June 2016 by Gg (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Logs data to the runtime log.</onlyinclude> <syntaxhighlight lang="javascript"> console.log("My object value is",...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Logs data to the runtime log.

console.log("My object value is", myObject);

Reference

This command accepts the following parameters:

Variable Required Description


Input:
parameter 1, 2... yes any number of arguments to be logged to the log. Objects are translated to a string using JSON.stringify()
Output:
result This function does not return anything

Examples