MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / DoubleLog

Function DoubleLog

backup/sysxc.js:407–417  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

405}
406// 双平台log输出
407function DoubleLog(data) {
408 if ($.isNode()) {
409 if (data) {
410 console.log(`${data}`);
411 msg += `\n${data}`
412 }
413 } else {
414 console.log(`${data}`);
415 msg += `\n${data}`
416 }
417}
418// 发送消息
419async function SendMsg(message) {
420 if (!message) return;

Callers 4

getVcodeMethod · 0.70
checkVcodeMethod · 0.70
SignInMethod · 0.70
noticeFunction · 0.70

Calls 2

isNodeMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected