Difference between revisions of "Bot Playground/Built-in Functions/console.log"

From SmartBots Developers Docs
Jump to: navigation, search
Line 1: Line 1:
 
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
 
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
<onlyinclude>Logs data to the [[../Logging|runtime log]].</onlyinclude>
+
<onlyinclude>Logs data to the [[../../Logging|runtime log]].</onlyinclude>
  
 
<syntaxhighlight lang="javascript">
 
<syntaxhighlight lang="javascript">

Revision as of 19:26, 11 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

Examples