From 3cc8f5b4a10e06bb0e867355115ebad21e77d842 Mon Sep 17 00:00:00 2001 From: YuYu1015 Date: Sat, 30 Nov 2024 12:04:12 +0800 Subject: [PATCH] fix: log --- docs/trem/plugin_dev/log.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/trem/plugin_dev/log.mdx b/docs/trem/plugin_dev/log.mdx index 27ea658..5dc9cc7 100644 --- a/docs/trem/plugin_dev/log.mdx +++ b/docs/trem/plugin_dev/log.mdx @@ -22,7 +22,7 @@ this.logger.info("info"); ```js // 由於是單例模式,在 index.js 初始化後,即可在任何地方使用。 -const logger = require("./utils/logger"); +const logger = require("./logger"); logger.info("info"); ```