Difference between revisions of "Bot Playground/Logging"

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} There are two types of logs at Playground: * error log * runtime log == Log differences == {| class="niceTable" ! width="50%" | Error log...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
 
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
 
 
There are two types of logs at Playground:
 
There are two types of logs at Playground:
  
Line 14: Line 13:
 
|-
 
|-
 
|
 
|
* entries are being added on error
+
* entries are being added on error, by using [[../Built-in_Functions/console.warn|console.warn()]] or [[../Built-in_Functions/console.error|console.error()]]
 
|
 
|
* entries are being added using [[../Commands/console.log|console.log()]]
+
* entries are being added using [[../Built-in_Functions/console.log|console.log()]]
  
 
|-
 
|-

Latest revision as of 12:39, 30 July 2025

There are two types of logs at Playground:

  • error log
  • runtime log

Log differences

Error log Runtime log
  • you can clear entries manually
  • clear manually or using "clear on run" option