System.register(["cc"], function (_export, _context) {
  "use strict";

  var _cclegacy, _crd, logger;

  return {
    setters: [function (_cc) {
      _cclegacy = _cc.cclegacy;
    }],
    execute: function () {
      _crd = true;

      _cclegacy._RF.push({}, "e2a29baoNpDBoowV9rNOxkL", "logger", undefined);

      _export("logger", logger = {
        debug(...args) {// 什么也不做，相当于隐藏了日志
        },

        log(...args) {
          // 让日志仍然输出到控制台
          if (args && args.find(a => a && a.indexOf && (a.indexOf("SyncFrame") > -1 || a.indexOf("SyncServerInfo") > -1 || a.indexOf("InpFrame") > -1))) {
            //[SyncFrame]这消息太频繁不输出
            return;
          }

          console.log(...args);
        },

        warn(...args) {
          console.warn(...args);
        },

        error(...args) {
          console.error(...args);
        }

      });

      _cclegacy._RF.pop();

      _crd = false;
    }
  };
});
//# sourceMappingURL=logger.js.map