/**
* This class provides access to the debugging console.
* @constructor
*/
function DebugConsole() {
}
/**
* Print a normal log message to the console
* @param {Object|String} message Message or object to print to the console
*/
DebugConsole.prototype.log = function(message) {
//This ends up in C:\jslog_widget.log on the device
console.log(message);
};
/**
* Print a warning message to the console
* @param {Object|String} message Message or object to print to the console
*/
DebugConsole.prototype.warn = function(message) {
};
/**
* Print an error message to the console
* @param {Object|String} message Message or object to print to the console
*/
DebugConsole.prototype.error = function(message) {
};
if (typeof window.debug == "undefined") window.debug = new DebugConsole();