就这样吧。

This commit is contained in:
2026-04-10 10:09:39 +08:00
parent 842a953bc4
commit 1749757d1f
2 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
/target
/logs

View File

@@ -44,14 +44,15 @@ fn main() {
.with(
fmt::layer()
.pretty()
.fmt_fields(format::PrettyFields::new())
.with_line_number(false)
.with_file(false)
//.fmt_fields(format::PrettyFields::new())
//.with_line_number(false)
//.with_file(false)
.with_ansi(true)
.with_timer(timer.clone()),
)
.with(
fmt::layer()
.pretty()
.with_timer(timer.clone())
.with_ansi(false)
.with_writer(non_block_writer),