Use more tracing features
This commit is contained in:
parent
4f7d4f3204
commit
a1d48f6fd3
3 changed files with 5 additions and 4 deletions
|
|
@ -38,7 +38,8 @@ struct Args {
|
|||
fn set_up_logging(verbose: bool) {
|
||||
if verbose {
|
||||
tracing_subscriber::fmt()
|
||||
.with_max_level(LevelFilter::DEBUG)
|
||||
.with_max_level(LevelFilter::TRACE)
|
||||
.pretty()
|
||||
.init();
|
||||
} else {
|
||||
tracing_subscriber::fmt()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue