feat(logger}: 支持更好的日志输出, 完善了文档

This commit is contained in:
ImFurina
2025-08-24 23:10:24 +08:00
parent 11e1c62cc3
commit ceb2044500
27 changed files with 915 additions and 832 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
import { banner, lyric } from '@neteaseapireborn/api'
import { logger } from '../util/logger.js'
banner({ type: 0 }).then((res) => {
console.log(res)
logger.info(res)
})
lyric({
id: '33894312',
}).then((res) => {
console.log(res)
logger.info(res)
})