Zuplo supports standard JavaScript console logging methods as a convenience for developers. These console methods map directly to the Zuplo context logger methods.
Supported Methods
The following console methods are supported:
console.log()- Maps tocontext.log.info()console.info()- Maps tocontext.log.info()console.warn()- Maps tocontext.log.warn()console.error()- Maps tocontext.log.error()console.debug()- Maps tocontext.log.debug()
Usage
You can use console methods anywhere in your Zuplo code:
Code
Limitations
- Only the standard logging methods listed above are supported
- Other console methods (like
console.table(),console.time(), etc.) are no-ops and won't produce any output
See Also
- Logger - Using the context logger
- Logging Guide - Detailed logging documentation
Last modified on