diff options
| author | bors <bors@rust-lang.org> | 2024-05-30 18:57:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-30 18:57:48 +0000 |
| commit | 6f3df08aadf71e8d4bf7e49f5dc10dfa6f254cb4 (patch) | |
| tree | 0bb6446fa30b1164ab735bb609decc609daddda2 /src | |
| parent | 7feb191f18918f93006d6a3e74938a9708564be4 (diff) | |
| parent | 8160974ce8e751e3283d61493325ae71dccd0877 (diff) | |
Auto merge of #125378 - lcnr:tracing-no-lines, r=oli-obk
remove tracing tree indent lines This allows vscode to collapse nested spans without having to manually remove the indent lines. This is incredibly useful when logging the new solver. I don't mind making them optional depending on some environment flag if you prefer using indent lines For a gist of the new output, see https://gist.github.com/lcnr/bb4360ddbc5cd4631f2fbc569057e5eb#file-example-output-L181 r? `@oli-obk`
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 55346c768b6..c0d2f9cfaf9 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -200,7 +200,6 @@ fn init_logging(early_dcx: &EarlyDiagCtxt) { let filter = tracing_subscriber::EnvFilter::from_env("RUSTDOC_LOG"); let layer = tracing_tree::HierarchicalLayer::default() .with_writer(io::stderr) - .with_indent_lines(true) .with_ansi(color_logs) .with_targets(true) .with_wraparound(10) |
