就这样吧。
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
/target
|
||||
/logs
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user