Skip to content

console Log Operations

Overview

Use the console object to print logs to the application console

console.log

Print logs, defaults to INFO level logs

javascript
console.log(...args);
ParameterTypeDescription
argsObjectContent to output

console.debug

Print DEBUG logs

javascript
console.debug(...args);
ParameterTypeDescription
argsObjectContent to output

console.info

Print INFO logs

javascript
console.info(...args);
ParameterTypeDescription
argsObjectContent to output

console.error

Print ERROR logs

javascript
console.error(...args)
ParameterTypeDescription
argsObjectContent to output

console.dump

Convert args to JSON and print logs

javascript
console.dump(args)
ParameterTypeDescription
argsObjectContent to output