Log
Write entries to the ARCx debug log (Side menu → Views → Debug Log), which keeps a record after the script console has been cleared.
Where to find it: type Log. in a JavaScript script, or open the ARCx API view of the script editor and expand Log
Commands
| Command | What it does |
|---|---|
| Log.add | Adds an information entry to the ARCx debug log, marked as coming from "Custom". |
Details
Log.add
Adds an information entry to the ARCx debug log, marked as coming from "Custom".
Log.add(message)
Log.add(message, severity)
| Value | Type | What it is |
|---|---|---|
message |
string | The text to log. |
severity |
number | Optional. 0 info, 1 warning, 2 error. |