From c9ea10f0ef5338d1bc7050b83097fd709133a4b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Wed, 26 Feb 2025 17:33:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8A=20=E6=89=93=E5=8D=B0=E5=88=B0?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/TGLogger.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/TGLogger.ts b/src/utils/TGLogger.ts index 0dd753cd..b1a81bfc 100644 --- a/src/utils/TGLogger.ts +++ b/src/utils/TGLogger.ts @@ -85,6 +85,7 @@ class Logger { const timeNow = timestampToDate(new Date().getTime()); const msg = `[${timeNow}]${message}`; await event.emitTo("TeyvatGuide", "userScriptLog", msg); + await info(message); } /** @@ -99,6 +100,7 @@ class Logger { const msg = `//--------------------${midStr}--------------------//`; await event.emitTo("TeyvatGuide", "userScriptLog", msg); if (!start) await event.emitTo("TeyvatGuide", "userScriptLog", ""); + await info(msg); } }