diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2023-09-09 12:03:19 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-09 12:03:19 -0600 |
| commit | 947865c05478fce0675fce93fd2811f93b703287 (patch) | |
| tree | 576af06de06bc1cdd48b16eee745605792065a44 /Cargo.toml | |
| parent | 29ff0bfa9f4c369b30ec8ad1a81dc567eb9dc569 (diff) | |
feat(cli): allow --log-level=trace for additional deep debugging (#20426)
This allows us to opt in to extremely detailed tracing from dependency
libraries, like so:
```
cargo run --features tracing/log,tracing/max_level_trace -- test --log-level=trace -A --unstable ./cli/tests/unit/serve_test.ts
```
It will not impact normal operation as it requires the
`tracing/max_level_trace` and `tracing/log` to be active.
Note that tracing is already a dependency -- this just makes it a direct
dep of cli so we can access its features more easily.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml index 167a51960..1bfab9fa1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -139,6 +139,7 @@ tar = "=0.4.40" tempfile = "3.4.0" termcolor = "1.1.3" thiserror = "1.0.40" +tracing = "0" tokio = { version = "1.28.1", features = ["full"] } tokio-metrics = { version = "0.3.0", features = ["rt"] } tokio-rustls = "0.24.0" |
