INNER CODE UNIT · JavaScript
function
gnh1201/welsonjs · app.js:314
function (s) { fn.call(console, s); }, // 1) severity-specific console
function (s) { console.log(s); }, // 2) generic console.log
function (s) { WScript.StdOut.WriteLine(s); } // 3) WSH fallback
]);
}
function buildMessage(name, sev, msg, chain) {
var s = name + " [" + sev + "]";
if (msg) s += ": " + msg;
if (chain) s += "\r\n" + chain;
return s;
}
this.name = "TraceException";
this.severity = normSeverity(severity);
this.message = message || "";
this.description = this.message; // IE friendly
this.callee = callee || null;