void logWarn(string msg)

Logs a warning 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.logWarn("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.