GT2/Ejectable/node_modules/expo/build/logs/Logs.js.map

1 line
1.1 KiB
Plaintext

{"version":3,"file":"Logs.js","sourceRoot":"","sources":["../../src/logs/Logs.ts"],"names":[],"mappings":"AAAA,IAAI,gBAAuC,CAAC;AAE5C,MAAM,UAAU,oBAAoB;IAClC,IAAI,OAAO,EAAE;QACX,IAAI,gBAAgB,EAAE;YACpB,OAAO;SACR;QAED,gBAAgB,GAAG,MAAM,CAAC,OAAO,CAAC;QAClC,MAAM,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;QACjD,MAAM,CAAC,OAAO,GAAG,aAAa,CAAC,mBAAmB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;KACpE;AACH,CAAC;AAED,MAAM,UAAU,qBAAqB;IACnC,IAAI,OAAO,EAAE;QACX,IAAI,CAAC,gBAAgB,EAAE;YACrB,OAAO;SACR;QAED,MAAM,CAAC,OAAO,GAAG,gBAAgB,CAAC;QAClC,gBAAgB,GAAG,IAAI,CAAC;KACzB;AACH,CAAC","sourcesContent":["let _originalConsole: typeof console | null;\n\nexport function enableExpoCliLogging(): void {\n if (__DEV__) {\n if (_originalConsole) {\n return;\n }\n\n _originalConsole = global.console;\n const RemoteConsole = require('./RemoteConsole');\n global.console = RemoteConsole.createRemoteConsole(global.console);\n }\n}\n\nexport function disableExpoCliLogging(): void {\n if (__DEV__) {\n if (!_originalConsole) {\n return;\n }\n\n global.console = _originalConsole;\n _originalConsole = null;\n }\n}\n"]}