Use more tracing features

This commit is contained in:
Joscha 2023-08-04 18:51:12 +02:00
parent 4f7d4f3204
commit a1d48f6fd3
3 changed files with 5 additions and 4 deletions

View file

@ -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()