tracing-rewrite

Crates.iotracing-rewrite
lib.rstracing-rewrite
version0.1.0
created_at2025-01-22 10:03:50.738784+00
updated_at2025-01-22 10:03:50.738784+00
descriptionTracing logs conditional rewrite wrapper
homepage
repositoryhttps://github.com/nappa85/tracing-rewrite
max_upload_size
id1526463
size17,030
Marco Napetti (nappa85)

documentation

README

tracing-rewrite

This crate introduces a wrapper that allows conditional rewriting of tracing logs

Use case

Let's say you are using a third party crate that emits way too many ERROR logs, you don't want to suppress them because, well, suppressing errors is never a good idea, but maybe you have your own retry mechanism and your telemetry sistem is configured to raise an alarm with any error or with 10 warnings in a 5 minutes window.

Commit count: 3

cargo fmt