关于core的日志输出 #176
Answered
by
MrXiaoM
MeiVinEight
asked this question in
问题解答
关于core的日志输出
#176
-
|
关于消息的输出是否反了,VERBOSE的优先级(net.mamoe.mirai.utils.SimpleLogger.LogPriority#ordinal)低于DEBUG,但DEBUG输出的信息比VERBOSE多。 |
Beta Was this translation helpful? Give feedback.
Answered by
MrXiaoM
Nov 21, 2025
Replies: 1 comment
-
|
没有反,消息的日志等级参考了 mirai-console,它就是在 VERBOSE 等级输出的。 换句话说,日志记录器等级是保持跟 mirai 原本的是一致的。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MeiVinEight
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

没有反,消息的日志等级参考了 mirai-console,它就是在 VERBOSE 等级输出的。
而 mirai-console 有特定日志记录器显示等级配置,Bot 的默认显示日志等级为 ALL,所以能够正常显示。
换句话说,日志记录器等级是保持跟 mirai 原本的是一致的。