void LogErr (string)

Logs an error log to the KW Platform event log

Security

Trust Level Required: Medium Trust

Parameters

Name Description
msg string
The message to log

Return

Void

Examples


window.addEventListener("beforeunload", function(event) {
	var procUpTime = KioApp.GetProcessUptimeMs();
	KioApp.LogErr("Unloading " + location.href + " at " + procUpTime + "milliseconds");
});
    

Requirements

KioWare for Windows version 8.1 or greater.