123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- System.register(["__unresolved_0", "cc", "__unresolved_1"], function (_export, _context) {
- "use strict";
- var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Constants, _dec, _class, _class2, _crd, ccclass, property, Logger;
- function _reportPossibleCrUseOfConstants(extras) {
- _reporterNs.report("Constants", "../data/Constants", _context.meta, extras);
- }
- return {
- setters: [function (_unresolved_) {
- _reporterNs = _unresolved_;
- }, function (_cc) {
- _cclegacy = _cc.cclegacy;
- __checkObsolete__ = _cc.__checkObsolete__;
- __checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
- _decorator = _cc._decorator;
- }, function (_unresolved_2) {
- Constants = _unresolved_2.Constants;
- }],
- execute: function () {
- _crd = true;
- _cclegacy._RF.push({}, "87f8azWNzFNvrOwZKm5ZhJ5", "Logger", undefined);
- __checkObsolete__(['_decorator']);
- ({
- ccclass,
- property
- } = _decorator);
- _export("Logger", Logger = (_dec = ccclass('Logger'), _dec(_class = (_class2 = class Logger {}, _class2.log = (_crd && Constants === void 0 ? (_reportPossibleCrUseOfConstants({
- error: Error()
- }), Constants) : Constants).isDebug ? function () {
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
- console.log('[DEBUG]', ...args);
- } : () => {}, _class2.error = (_crd && Constants === void 0 ? (_reportPossibleCrUseOfConstants({
- error: Error()
- }), Constants) : Constants).isDebug ? function () {
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
- args[_key2] = arguments[_key2];
- }
- console.error('[DEBUG]', ...args);
- console.trace('调试堆栈');
- } : () => {}, _class2.warn = (_crd && Constants === void 0 ? (_reportPossibleCrUseOfConstants({
- error: Error()
- }), Constants) : Constants).isDebug ? function () {
- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
- args[_key3] = arguments[_key3];
- }
- console.warn('[DEBUG]', ...args);
- } : () => {}, _class2)) || _class));
- _cclegacy._RF.pop();
- _crd = false;
- }
- };
- });
- //# sourceMappingURL=27a1cf6eb8e42599ac0a78e09e1e098e681a9035.js.map
|