This commit is contained in:
陆柯 2023-12-30 13:22:10 +08:00
parent bc76140224
commit 02792a8c6b

View File

@ -120,7 +120,7 @@ module.exports =
},
ccinput (headers, path, indata) {
console.log(colors.bgWhite(new Date().toJSON()), colors.bgCyan('[Headers]'), colors.cyan(headers))
console.info(colors.bgWhite(new Date().toJSON()), colors.bgBlue(`[INDATA] ${path}`), colors.blue(util.inspect(indata, { showHidden: false, depth: null, colors: false }))) // 已经被 colors.xxx 进行上色了
console.info(colors.bgWhite(new Date().toJSON()), colors.bgBrightBlue(`[INDATA] ${path}`), colors.brightBlue(util.inspect(indata, { showHidden: false, depth: null, colors: false }))) // 已经被 colors.xxx 进行上色了
},
ccoutput (path, outdata) {
console.log(colors.bgWhite(new Date().toJSON()), colors.bgGreen(`[OUTDATA] ${path}`), colors.green(util.inspect(outdata, { showHidden: false, depth: null, colors: false }))) // 已经被 colors.xxx 进行上色了