Add log entry

by Provisio

JavaScript

// Load the unified Object Model (Required on Android machines)
if (typeof _siteKiosk !== 'undefined' && _siteKiosk.getUnifiedObjectModelCode) {
        new Function(_siteKiosk.getUnifiedObjectModelCode())();
}

// Add a debug entry.
// You can find them on the siteKiosk Online dashboard:
// Monitoring -> [Machine Name] -> Logfiles
siteKiosk.log.debug("MyFacility", "My important log message");