console.log(text) Last updated: 08. Mar 2023
API only function
Outputs specified text to your users log, same as in javascript. You can find your log here: https://docly.net/#A
Parameters
Name | Type | Description |
---|---|---|
text | string | Text to write to log. Same behaviour as in JavaScript. |
Returns
Nothing, but writes text to log. Only works in API functions.
Example
Code example (JS)
JS is normal JavaScript either running in the browser or on the Docly™ server.console.log("Log information");
console.warn("Log a warning");
console.error("Log an error");
// Hello is written as "Console" output in your personal log.
// * Only available in API functions.