From ec5058f5e4bfd75ae8347f487ee0b74f23b6c6f4 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Fri, 11 Mar 2022 20:19:01 +0800 Subject: [PATCH] change cclog's color to grey --- tool4log.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool4log.js b/tool4log.js index 8252459..ed064bc 100644 --- a/tool4log.js +++ b/tool4log.js @@ -2,10 +2,10 @@ const colors = require('colors') module.exports = { cclog(...args) { - console.log(colors.green({time: new Date().toJSON()}), ...args) + console.log(colors.grey({time: new Date().toJSON()}), ...args) }, ccinfo(...args) { - console.info(colors.blue({time: new Date().toJSON()}), ...args) + console.info(colors.green({time: new Date().toJSON()}), ...args) }, ccerr(...args) { // console.error will appear in pm2's error log console.error(colors.red({time: new Date().toJSON()}), ...args)