tokio-rs / tracing

Application level tracing for Rust.
https://tracing.rs
MIT License
5.19k stars 677 forks source link

appender: update crate docs to call-out lossy behavior #2867

Open f1recracker opened 6 months ago

f1recracker commented 6 months ago

By default, non-blocking writers are lossy, which is an important caveat and can silently cause loss of logs which is difficult to diagnose.

Motivation

By default, non-blocking writers are lossy, which is an important caveat and can silently cause loss of logs which is difficult to diagnose.

Solution

Update crate docs to explicitly call out lossy behavior.

Closes #2865