| Crates.io | trace4rs |
| lib.rs | trace4rs |
| version | 0.6.0-rc |
| created_at | 2022-09-14 17:58:06.146609+00 |
| updated_at | 2023-11-30 20:25:04.554528+00 |
| description | log4rs like usability with the `tracing` crate as the base |
| homepage | |
| repository | https://github.com/imperva/trace4rs |
| max_upload_size | |
| id | 665971 |
| size | 75,942 |
This crate allows users to configure output from
tracing in the same way as you would configure the
output of log4rs.
For a usage example see the examples folder or src/test.rs.
The takeaway is that the actual appenders are roughly equivalent in
performance. However, when using the tracing macros vs the log macros
the appender performance is roughly 2 orders of magnitude larger.
See for yourself with cargo bench --features tracing-macros
cargo install cargo-binstallcargo install cargo-updatecargo install cargo-nextest