string CreateAppLog (string, string)

Creates a KioWare app log entry

Security

Trust Level Required: Medium Trust

Parameters

Name Description
groupName (Optional) string
Optional message grouping name for the log set.
msg (Optional) string
Optional message.

Return

The app log id to optionally pass into AddAppLogData, or null on an insert failure.

Examples


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

Requirements

KioWare for Windows version 8.1 or greater.