monkey-front-core 0.0.564 → 0.0.565
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/esm2020/lib/core/utils/utils.mjs +2 -8
- package/fesm2015/monkey-front-core.mjs +1 -7
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +1 -7
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/utils/utils.d.ts +3 -4
- package/monkey-front-core-0.0.565.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.564.tgz +0 -0
|
@@ -568,17 +568,11 @@ class MonkeyEcxUtils {
|
|
|
568
568
|
return ret;
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
class MonkeyEcxLogParams {
|
|
572
|
-
constructor() {
|
|
573
|
-
this.message = '';
|
|
574
|
-
this.type = 'error';
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
571
|
class MonkeyEcxLogs {
|
|
578
572
|
static log(params) {
|
|
579
573
|
try {
|
|
580
574
|
const { type, message, context, error } = params;
|
|
581
|
-
datadogLogs.logger[type](message, context, error);
|
|
575
|
+
datadogLogs.logger[type || 'error'](message, context, error);
|
|
582
576
|
}
|
|
583
577
|
catch (e) {
|
|
584
578
|
// not to do
|