-
Notifications
You must be signed in to change notification settings - Fork 17
Functions:Logging
Daniel Willemse edited this page Oct 13, 2021
·
1 revision
To log statements to your Application Logs, you can use the console
object that has a function for corresponding severities.
Similar to how loglevel works. We support the following functions, which all accept a string as the message.:
- console.log
- console.debug
- console.info
- console.warn
- console.error
Where log
is an alias for debug
. The severity used to log will reflect the severity show in the Application Logs
Example:
console.log('Hello World!')
- Getting started
- Page Builder Components
- Action Functions
- [deprecated] CustomFunctions