🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

tracing_appender::non_blocking

Constant DEFAULT_BUFFERED_LINES_LIMIT

Source
pub const DEFAULT_BUFFERED_LINES_LIMIT: usize = 128_000;
Expand description

The default maximum number of buffered log lines.

If NonBlocking is lossy, it will drop spans/events at capacity. If NonBlocking is not lossy, backpressure will be exerted on senders, causing them to block their respective threads until there is available capacity.

Recommended to be a power of 2.