When developing or troubleshooting JavaScripts it's very useful to be able
to see log messages. This is possible with the alert()
command in JavaScript.
This works both in the portal and web applications.
Add the following JavaScript code to your page:
alert("This is a log message");
This will immediately appear in the IP-STB log, approximately like:
9242 12:41:32.056 browser(80) None: "This is a log message"
How to use logging with the KreaTV IP-STB can be found in the "Operation and Maintenance guide", in the troubleshooting section.
Note! In previous versions of KreaTV it was
possible to use the alert()
command in JavaScript to produce a
popup window. This is currently not possible.