string CreateAppLog(string, string)
Creates a KioWare app log entry
Security
Trust Level Required: Medium Trust
Parameters
Name | Description |
groupName |
string Message grouping name for the log set. |
msg |
string 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.