Difference between revisions of "Bot Playground/Built-in Functions/console.warn"
From SmartBots Developers Docs
								 (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Logs warning data to the log.</onlyinclude> Read more about error logs.  <syntaxhighlight lang="javascript"> co...")  | 
				|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}}  | {{DISPLAYTITLE:{{SUBPAGENAME}}}}  | ||
| − | <onlyinclude>Logs   | + | <onlyinclude>Logs data to the error log.</onlyinclude> Read more about [[../../Logging|error logs]].  | 
<syntaxhighlight lang="javascript">  | <syntaxhighlight lang="javascript">  | ||
Latest revision as of 12:39, 30 July 2025
Logs data to the error log. Read more about error logs.
console.warn(...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 | ||