Skip to content

Commit

Permalink
tracing log along diff crates
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanjoi authored and tshepang committed Mar 10, 2023
1 parent 8a87736 commit 477309b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ $ RUSTC_LOG=debug rustc +stage1 my-file.rs 2>all-log
# compilers.
$ RUSTC_LOG=rustc_codegen_ssa=info rustc +stage1 my-file.rs

# This will show the all tracing calls under `rustc_codegen_ssa` and
# `rustc_resolve`.
$ RUSTC_LOG=rustc_codegen_ssa,rustc_resolve rustc +stage1 my-file.rs

# This will show the output of all `info!` calls made by rustdoc
# or any rustc library it calls.
$ RUSTDOC_LOG=info rustdoc +stage1 my-file.rs
Expand Down

0 comments on commit 477309b

Please sign in to comment.