• Quick Start
  • Booting
  • Platform
  • Portals
  • References
    • API Reference TOI3
    • IIP Reference
  • Resources
ARRIS Enterprises, Inc. Confidential Information

Logging from JavaScript

When developing or troubleshooting JavaScripts it's very useful to be able to see log messages. This is possible with the console.debug(), console.error(), console.log(), console.info() and console.warn() functions in JavaScript. This works both in the portal and web applications.

Example

Add the following JavaScript code to your page:


console.log("This is a log message");

This will immediately appear in the IP-STB log, approximately like:


4167 01:05:53.899 Browser(80) Note: [File name]: "This is a log message"

You can read the logs with the logging tool

5.1.p5

Copyright (c) 2017 ARRIS Enterprises, LLC. All Rights Reserved. ARRIS Enterprises, LLC. Confidential Information.