//! Where the library's diagnostic lines go: a transfer's bottleneck summary, a stage-timer line
//! (`AVA1_TIMING=1`), the lane buffer sizes the kernel granted. Standard error by default; an
//! application sends them to its own log (or nowhere) with [`set_sink`].
//!
//! ```
//! ava1::diag::set_sink(Some(Box::new(|line: &str| println!("ava1: {line}"))));
//! ava1::diag::set_sink(None); // back to standard error
//! ```
use fmt;
use RwLock;
type Sink = ;
static SINK: = new;
/// Routes every later diagnostic line to `sink` (`None`: standard error again).
/// One line. Never panics: a closed standard error (a parent that died) is ignored.
pub