pub fn init(sinks: &'static [&'static dyn LogSink])Expand description
Install the global sink list.
MUST be called at app startup BEFORE any record-emitting macro
runs (otherwise the dispatch is a no-op — records are silently
dropped). Calling init more than once swaps the list
atomically; the previous pointer is leaked (intentional: the
read path is lock-free so we can’t safely free).
The sinks themselves must outlive the program ('static).