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.
@@ -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