Console Log Levels

Steps

  1. Create a project console_project.
  2. Then create a JavaScript service named console_test.js.
  3. Within the service code, enter the following content:

Log Levels

1
2
3
4
5
6
7
console.info("Info message: %s", "Hello World!");
console.error("Error message.");
console.warn("Warning message.");
console.log("Log message.");
console.trace("Trace.");


For more information, see the API documentation.

Edit