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

Function DoubleLog

qtx.js:358–368  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

356}
357// 双平台log输出
358function DoubleLog(data) {
359 if ($.isNode()) {
360 if (data) {
361 console.log(`${data}`);
362 msg += `\n${data}`
363 }
364 } else {
365 console.log(`${data}`);
366 msg += `\n${data}`
367 }
368}
369// 发送消息
370async function SendMsg(message) {
371 if (!message) return;

Callers 6

user_infoMethod · 0.70
task_signInMethod · 0.70
get_questionMethod · 0.70
do_questionMethod · 0.70
get_calMethod · 0.70
do_calMethod · 0.70

Calls 2

isNodeMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected