MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / logErr

Method logErr

wxapp/miaoyouHome.js:456–461  ·  view source on GitHub ↗
(t, s)

Source from the content-addressed store, hash-verified

454 console.log(t.join(this.logSeparator));
455 }
456 logErr(t, s) {
457 const e = !this.isSurge() && !this.isQuanX() && !this.isLoon();
458 e
459 ? this.log("", `\u2757\ufe0f${this.name}, \u9519\u8bef!`, t.stack)
460 : this.log("", `\u2757\ufe0f${this.name}, \u9519\u8bef!`, t);
461 }
462 wait(t) {
463 return new Promise((s) => setTimeout(s, t));
464 }

Callers 1

runScriptMethod · 0.45

Calls 4

isSurgeMethod · 0.45
isQuanXMethod · 0.45
isLoonMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected