-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4f50fd
commit b1de020
Showing
5 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
|
||
## simbot-logger | ||
发布新的模块 `simbot-logger` 并作为simbot下的默认日志模块。 | ||
|
||
`simbot-logger` 实现 [SLF4J API](https://www.slf4j.org/), 是一个简易的异步高性能日志模块。但无法于专业的日志框架相提并论。如果你没有非常高的日志要求,可以考虑使用默认的 `simbot-logger`, 否则请考虑自行切换其他经得起考验的日志框架。 | ||
|
||
`simbot-logger` 默认的处理器仅为控制台输出日志,默认为 `INFO` 级别。如果你需要快捷的调整输入等级,请添加JVm运行参数 `simbot.logger.level` 指定等级, 例如 : | ||
``` | ||
-Dsimbot.logger.level=DEBUG | ||
``` | ||
|
||
如果你希望提供更多处理器来满足复杂需求,例如除了控制台输出以外,你还需要日志文件输出,请参考 `love.forte.simbot.logger.SimbotLoggerProcessor` 文档说明。 | ||
|
||
|
||
## 组件更新 | ||
相关组件会在后续跟进更新 | ||
- [mirai组件](https://github.com/simple-robot/simbot-component-mirai/releases) | ||
- [腾讯频道组件](https://github.com/simple-robot/simbot-component-tencent-guild/releases) | ||
|
||
## 其他日志 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters