console.error
From SmartBots Developers Docs
Bot PlaygroundBuilt-in Functions
Revision as of 19:28, 11 July 2016 by Gg (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Logs data to the error log.</onlyinclude> Read more about error logs. <syntaxhighlight lang="javascript"> cons...")
Jump to: navigation, search
Logs data to the error log. Read more about error logs.
console.log(...arguments);
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
- console.error