Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (22 sloc) 558 Bytes
layout title icon group
samples
Console Log Levels
fa-caret-right
simple

{{ page.title }}

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

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.