Make sure text is logged instead of XML.

Otherwise the log output is truncated when people copy paste from the console
(for bug reports).

updates #431
This commit is contained in:
JC Brand 2015-06-29 11:57:37 +02:00
parent 114a25a172
commit d8c29c7e3f

View File

@ -5680,8 +5680,8 @@
this.setUpXMLLogging = function () { this.setUpXMLLogging = function () {
if (this.debug) { if (this.debug) {
this.connection.xmlInput = function (body) { console.log(body); }; this.connection.xmlInput = function (body) { console.log(body.outerHTML); };
this.connection.xmlOutput = function (body) { console.log(body); }; this.connection.xmlOutput = function (body) { console.log(body.outerHTML); };
} }
}; };