jason-trace-log 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -858,7 +858,7 @@
858
858
  console.error('Failed to log trace data:', error);
859
859
  }
860
860
  };
861
- BaseTrace.prototype.info = function (message, tag, extra) {
861
+ BaseTrace.prototype.info = function (message, extra, tag) {
862
862
  this.log({
863
863
  name: 'customer-info',
864
864
  type: TraceDataTypes.LOG,
@@ -870,7 +870,7 @@
870
870
  extra: extra
871
871
  });
872
872
  };
873
- BaseTrace.prototype.warn = function (message, tag, extra) {
873
+ BaseTrace.prototype.warn = function (message, extra, tag) {
874
874
  this.log({
875
875
  name: 'customer-warning',
876
876
  type: TraceDataTypes.LOG,
@@ -882,7 +882,7 @@
882
882
  extra: extra
883
883
  });
884
884
  };
885
- BaseTrace.prototype.error = function (message, tag, extra) {
885
+ BaseTrace.prototype.error = function (message, extra, tag) {
886
886
  this.log({
887
887
  name: 'customer-error',
888
888
  type: TraceDataTypes.LOG,
@@ -1222,7 +1222,6 @@
1222
1222
  return instance;
1223
1223
  }
1224
1224
  instance = TraceSdk.init(options);
1225
- console.log('instances: ', instance);
1226
1225
  return instance;
1227
1226
  };
1228
1227
  var getInstance = function () {