Skip to content

Commit 8dbf138

Browse files
shashanksuuerceg
authored andcommitted
refac: update log message to indicate its from Adjust
1 parent 1e94410 commit 8dbf138

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Adjust/plugins/sdk-plugin-webbridge/src/main/assets/adjust.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ var Adjust = {
9090
addGlobalCallbackParameter: function(key, value) {
9191
if (AdjustBridge) {
9292
if (typeof key !== 'string' || typeof value !== 'string') {
93-
console.log('Passed key or value is not of string type');
93+
console.log('[Adjust]: Passed key or value is not of string type');
9494
return;
9595
}
9696
AdjustBridge.addGlobalCallbackParameter(key, value);
@@ -100,7 +100,7 @@ var Adjust = {
100100
addGlobalPartnerParameter: function(key, value) {
101101
if (AdjustBridge) {
102102
if (typeof key !== 'string' || typeof value !== 'string') {
103-
console.log('Passed key or value is not of string type');
103+
console.log('[Adjust]: Passed key or value is not of string type');
104104
return;
105105
}
106106
AdjustBridge.addGlobalPartnerParameter(key, value);
@@ -110,7 +110,7 @@ var Adjust = {
110110
removeGlobalCallbackParameter: function(key) {
111111
if (AdjustBridge) {
112112
if (typeof key !== 'string') {
113-
console.log('Passed key is not of string type');
113+
console.log('[Adjust]: Passed key is not of string type');
114114
return;
115115
}
116116
AdjustBridge.removeGlobalCallbackParameter(key);
@@ -120,7 +120,7 @@ var Adjust = {
120120
removeGlobalPartnerParameter: function(key) {
121121
if (AdjustBridge) {
122122
if (typeof key !== 'string') {
123-
console.log('Passed key is not of string type');
123+
console.log('[Adjust]: Passed key is not of string type');
124124
return;
125125
}
126126
AdjustBridge.removeGlobalPartnerParameter(key);

Adjust/plugins/sdk-plugin-webbridge/src/main/assets/adjust_event.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ AdjustEvent.prototype.setRevenue = function(revenue, currency) {
1515

1616
AdjustEvent.prototype.addCallbackParameter = function(key, value) {
1717
if (typeof key !== 'string' || typeof value !== 'string') {
18-
console.log('Passed key or value is not of string type');
18+
console.log('[Adjust]: Passed key or value is not of string type');
1919
return;
2020
}
2121
this.callbackParameters.push(key);
@@ -24,7 +24,7 @@ AdjustEvent.prototype.addCallbackParameter = function(key, value) {
2424

2525
AdjustEvent.prototype.addPartnerParameter = function(key, value) {
2626
if (typeof key !== 'string' || typeof value !== 'string') {
27-
console.log('Passed key or value is not of string type');
27+
console.log('[Adjust]: Passed key or value is not of string type');
2828
return;
2929
}
3030
this.partnerParameters.push(key);

Adjust/plugins/sdk-plugin-webbridge/src/main/assets/adjust_third_party_sharing.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function AdjustThirdPartySharing(isEnabled) {
66

77
AdjustThirdPartySharing.prototype.addGranularOption = function(partnerName, key, value) {
88
if (typeof partnerName !== 'string' || typeof key !== 'string' || typeof value !== 'string') {
9-
console.log('Passed partnerName, key or value is not of string type');
9+
console.log('[Adjust]: Passed partnerName, key or value is not of string type');
1010
return;
1111
}
1212
this.granularOptions.push(partnerName);
@@ -16,7 +16,7 @@ AdjustThirdPartySharing.prototype.addGranularOption = function(partnerName, key,
1616

1717
AdjustThirdPartySharing.prototype.addPartnerSharingSetting = function(partnerName, key, value) {
1818
if (typeof partnerName !== 'string' || typeof key !== 'string' || typeof value !== 'boolean') {
19-
console.log('Passed partnerName or key is not of string type or value is not of boolean type');
19+
console.log('[Adjust]: Passed partnerName or key is not of string type or value is not of boolean type');
2020
return;
2121
}
2222
this.partnerSharingSettings.push(partnerName);

0 commit comments

Comments
 (0)