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.
- package/README.md +10 -217
- package/dist/jason-trace-log.esm.js +3 -4
- package/dist/jason-trace-log.esm.js.map +1 -1
- package/dist/jason-trace-log.umd.js +3 -4
- package/dist/jason-trace-log.umd.js.map +1 -1
- package/dist/lib/baseTrace.js +3 -3
- package/dist/lib/baseTrace.js.map +1 -1
- package/dist/lib/core/fetch.js.map +1 -1
- package/dist/lib/index.js +0 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/types/baseTrace.d.ts +3 -3
- package/package.json +1 -6
- package/LICENSE +0 -7
|
@@ -858,7 +858,7 @@
|
|
|
858
858
|
console.error('Failed to log trace data:', error);
|
|
859
859
|
}
|
|
860
860
|
};
|
|
861
|
-
BaseTrace.prototype.info = function (message,
|
|
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,
|
|
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,
|
|
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 () {
|