Difference between revisions of "Bot Playground/Built-in Functions/console.log"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Logs data to the runtime log.</onlyinclude> <syntaxhighlight lang="javascript"> console.log("My object value is",...") |
|||
Line 10: | Line 10: | ||
{{API Variable Group|Input}} | {{API Variable Group|Input}} | ||
− | {{API Variable| | + | {{API Variable|arguments...|yes}} any number of arguments to be logged to the log. Objects can be translated to a string using JSON.stringify() |
{{API Variable Group|Output}} | {{API Variable Group|Output}} | ||
{{API Return none}} | {{API Return none}} |
Revision as of 13:00, 1 July 2016
Logs data to the runtime log.
console.log("My object value is", myObject);
Reference
This command accepts the following parameters:
Variable | Required | Description
| |
---|---|---|---|
Input: | |||
arguments... | yes | any number of arguments to be logged to the log. Objects can be translated to a string using JSON.stringify() | |
Output: | |||
result | This function does not return anything |