Crates.io | tracing-tape-parser |
lib.rs | tracing-tape-parser |
version | |
source | src |
created_at | 2024-11-10 14:31:42.046309 |
updated_at | 2024-11-10 14:31:42.046309 |
description | Parser for the tracing-tape format |
homepage | https://github.com/soehrl/tracing-tape |
repository | https://github.com/soehrl/tracing-tape |
max_upload_size | |
id | 1442962 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Dead-simple debugging and profiling of Rust applications using the tracing crate. Record trace files and view them within within seconds without complex setup or configuration.
cargo add tracing tracing-subscriber tracing-tape-recorder
.use tracing_subscriber::layer::SubscriberExt;
use tracing_tape_recorder::TapeRecorder;
let subscriber = tracing_subscriber::Registry::default().with(TapeRecorder::default());
tracing::subscriber::set_global_default(subscriber).expect("setting default subscriber failed");
Running your application will now generate a {name}-{timestamp}.tape
file in the current working directory.
You can use the trace-deck
application to view the recorded tape files either by running trace-deck filename.tape
or by dragging the files into the window.
You can load multiple files simultaneously which can be useful for analyzing workflows across multiple applications (e.g., client-server interactions).