From 50b2a23ee0b51500c5a41a2c1aec620df52d7d35 Mon Sep 17 00:00:00 2001 From: HuanLinOTO Date: Sun, 27 Aug 2023 21:18:11 +0800 Subject: [PATCH] sync --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 8046a93..1c6f430 100644 --- a/src/index.js +++ b/src/index.js @@ -10,7 +10,7 @@ const nodemailer = require('nodemailer') const baseLogger = new reggol("GenshinCloudPlayHelper") var logContent = `` -global.log = { +const log = { info(content){ logContent += `[info] ${content}
` baseLogger.info(content)