Put thread IDs in logging output

This commit is contained in:
Tony Garnock-Jones 2022-01-10 12:51:10 +01:00
parent c3a9525ef1
commit e06e5fef10
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ pub fn convenient_logging() -> Result<(), Box<dyn std::error::Error>> {
};
let subscriber = tracing_subscriber::fmt()
.with_ansi(true)
.with_thread_ids(true)
.with_max_level(tracing::Level::TRACE)
.with_env_filter(filter)
.with_writer(io::stderr)