void logErr(string msg)
Logs an error message to the system logs
Security
Trust Level Required: Medium Trust
Parameters
Name | Description |
msg |
string The message to log |
Return
Nothing returned
Examples
window.addEventListener("beforeunload", function(event) {
var procUpTime = KioApp.getProcessUptimeMs();
KioApp.logErr("Unloading " + location.href + " at " + procUpTime + "milliseconds");
});
Requirements
KioWare OS (Linux®) version 1.0 or greater.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.