Skip to content

Commit

Permalink
Fix:Logging when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
bavincen committed Aug 27, 2015
1 parent 5144de2 commit a655b3c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions components/erFindFollowupItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ erFindFollowupItemsRequest.prototype = {

this.parent.xml2jxon = true;

exchWebService.commonFunctions.LOG("erFindFollowupItemsRequest.execute:"+String(req));
// exchWebService.commonFunctions.LOG("erFindFollowupItemsRequest.execute:"+String(req));
this.parent.sendRequest(this.parent.makeSoapMessage(req), this.serverUrl);
req = null;
},

onSendOk: function _onSendOk(aExchangeRequest, aResp)
{
exchWebService.commonFunctions.LOG("erFindFollowupItemsRequest.onSendOk:"+String(aResp)+"\n");
// exchWebService.commonFunctions.LOG("erFindFollowupItemsRequest.onSendOk:"+String(aResp)+"\n");

var ids = [];

Expand Down
4 changes: 2 additions & 2 deletions components/erGetItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ erGetItemsRequest.prototype = {

this.parent.xml2json = true;

exchWebService.commonFunctions.LOG("erGetItemsRequest.execute: "+ xml2json.toString(req) +"\n");
// exchWebService.commonFunctions.LOG("erGetItemsRequest.execute: "+ xml2json.toString(req) +"\n");

this.parent.sendRequest(this.parent.makeSoapMessage2(req), this.serverUrl);
req = null;
Expand All @@ -428,7 +428,7 @@ erGetItemsRequest.prototype = {

onSendOk: function _onSendOk(aExchangeRequest, aResp)
{
exchWebService.commonFunctions.LOG("erGetItemsRequest.onSendOk: "+ String(aResp)+"\n");
// exchWebService.commonFunctions.LOG("erGetItemsRequest.onSendOk: "+ String(aResp)+"\n");
var rm = xml2json.XPath(aResp, "/s:Envelope/s:Body/m:GetItemResponse/m:ResponseMessages/m:GetItemResponseMessage[@ResponseClass='Success' and m:ResponseCode='NoError']/m:Items/*");

var rmErrorSearch = xml2json.XPath(aResp, "/s:Envelope/s:Body/m:GetItemResponse/m:ResponseMessages/m:GetItemResponseMessage");
Expand Down
6 changes: 3 additions & 3 deletions components/erSubscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ erSubscribeRequest.prototype = {
pr.addChildTag("Timeout", "nsTypes","1440");
}

exchWebService.commonFunctions.LOG(" ++ xml2jxon ++:"+this.parent.makeSoapMessage(req));
// exchWebService.commonFunctions.LOG(" ++ xml2jxon ++:"+this.parent.makeSoapMessage(req));

exchWebService.commonFunctions.LOG("erSubscribeRequest.execute:"+String(this.parent.makeSoapMessage(req)));
// exchWebService.commonFunctions.LOG("erSubscribeRequest.execute:"+String(this.parent.makeSoapMessage(req)));
this.parent.xml2jxon = true;
this.parent.sendRequest(this.parent.makeSoapMessage(req), this.serverUrl);
req = null;
Expand All @@ -92,7 +92,7 @@ erSubscribeRequest.prototype = {

onSendOk: function _onSendOk(aExchangeRequest, aResp)
{
exchWebService.commonFunctions.LOG("erSubscribeRequest.onSendOk:"+String(aResp));
// exchWebService.commonFunctions.LOG("erSubscribeRequest.onSendOk:"+String(aResp));
// Get FolderID and ChangeKey
var aError = false;
var aCode = 0;
Expand Down

0 comments on commit a655b3c

Please sign in to comment.