就这样吧。
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
/target
|
/target
|
||||||
|
/logs
|
||||||
@@ -44,14 +44,15 @@ fn main() {
|
|||||||
.with(
|
.with(
|
||||||
fmt::layer()
|
fmt::layer()
|
||||||
.pretty()
|
.pretty()
|
||||||
.fmt_fields(format::PrettyFields::new())
|
//.fmt_fields(format::PrettyFields::new())
|
||||||
.with_line_number(false)
|
//.with_line_number(false)
|
||||||
.with_file(false)
|
//.with_file(false)
|
||||||
.with_ansi(true)
|
.with_ansi(true)
|
||||||
.with_timer(timer.clone()),
|
.with_timer(timer.clone()),
|
||||||
)
|
)
|
||||||
.with(
|
.with(
|
||||||
fmt::layer()
|
fmt::layer()
|
||||||
|
.pretty()
|
||||||
.with_timer(timer.clone())
|
.with_timer(timer.clone())
|
||||||
.with_ansi(false)
|
.with_ansi(false)
|
||||||
.with_writer(non_block_writer),
|
.with_writer(non_block_writer),
|
||||||
|
|||||||
Reference in New Issue
Block a user