mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-05-30 15:42:25 +00:00
⬆️ 升级 Moonbit 版本和 Async 版本
This commit is contained in:
@@ -19,7 +19,7 @@ BitLogger 是一个使用 MoonBit 编写的结构化日志库.
|
||||
|
||||
## Example / 示例
|
||||
|
||||
```mbt check
|
||||
```moonbit
|
||||
test {
|
||||
let logger = Logger::new(console_sink(), min_level=Level::Debug, target="demo")
|
||||
.with_timestamp()
|
||||
@@ -28,6 +28,13 @@ test {
|
||||
}
|
||||
```
|
||||
|
||||
Project command note / 项目命令说明:
|
||||
|
||||
- use `moon check` / `moon test` for local project verification
|
||||
- 本地项目校验请使用 `moon check` / `moon test`
|
||||
- `.mbt.md` literate docs still use MoonBit's document-test conventions internally
|
||||
- `.mbt.md` 文档内部仍沿用 MoonBit 的文档测试约定
|
||||
|
||||
## Where To Go Next / 下一步
|
||||
|
||||
- examples / 示例:
|
||||
|
||||
Reference in New Issue
Block a user