49 lines
1.9 KiB
React
49 lines
1.9 KiB
React
/* Metro module 4036; source: unknown; dependencies: [] */
|
|
function _fun33243(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#33243, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4194:6, offset: 0x0102aa8c, size: 109 bytes, params: 8, frame: 17
|
|
let Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Boolean = global.Boolean;
|
|
const r3 = Boolean(false) ? print_33245 : function() {
|
|
};
|
|
Object = global.Object;
|
|
Object.freeze(r3);
|
|
exports.print = r3;
|
|
exports.enableLogging = enableLogging;
|
|
}
|
|
|
|
function print_33245({component, method, params}) { // fn#33245, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4194:142, offset: 0x0102aaf9, size: 234 bytes, params: 2, frame: 16
|
|
var r3;
|
|
var console;
|
|
var log;
|
|
var items2;
|
|
const env0_0 = params;
|
|
var value;
|
|
if (env0_0) {
|
|
if (typeof params === 'object') {
|
|
value = global.Object.keys(params);
|
|
value = value.map(function(a0) {
|
|
return '' + a0 + ':' + params[a0];
|
|
});
|
|
value = value.join(' ');
|
|
r3 = value;
|
|
} else {
|
|
value = '';
|
|
value = value + (params ?? value);
|
|
r3 = value;
|
|
}
|
|
console = global.console;
|
|
log = console.log;
|
|
items2 = [component, method];
|
|
value = items2.filter(global.Boolean);
|
|
value = value.join('::');
|
|
Reflect.apply(log, console, ['[Portal::' + value + ']', r3]);
|
|
}
|
|
}
|
|
|
|
function enableLogging() { // fn#33247, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4194:429, offset: 0x0102ac0f, size: 46 bytes, params: 1, frame: 12
|
|
if (!env0_1) {
|
|
global.console.warn('[Portal] could not enable logging on production!');
|
|
}
|
|
}
|
|
|