trace4rs-fmtorp

Crates.iotrace4rs-fmtorp
lib.rstrace4rs-fmtorp
version0.6.0-rc
sourcesrc
created_at2022-09-14 17:53:36.81992
updated_at2023-11-30 20:23:54.270501
descriptionTorpid formatting for trace4rs
homepage
repositoryhttps://github.com/imperva/trace4rs
max_upload_size
id665964
size8,651
(estk)

documentation

README

trace4rs

This crate allows users to configure output from tracing in the same way as you would configure the output of log4rs.

Overview

For a usage example see the examples folder or src/test.rs.

Benchmarks & Results

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

Dev suggestions

  • cargo install cargo-binstall
  • cargo install cargo-update
  • cargo install cargo-nextest
Commit count: 123

cargo fmt