Skip to content

Commit

Permalink
fix: log
Browse files Browse the repository at this point in the history
  • Loading branch information
whes1015 committed Nov 30, 2024
1 parent 722bbdf commit 3cc8f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/trem/plugin_dev/log.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ this.logger.info("info");

```js
// 由於是單例模式,在 index.js 初始化後,即可在任何地方使用。
const logger = require("./utils/logger");
const logger = require("./logger");
logger.info("info");
```

Expand Down

0 comments on commit 3cc8f5b

Please sign in to comment.