Skip to main content

init

Function init 

Source
pub fn init()
Expand description

Register the console as the global log backend. Call once, early. The ring is statically initialised, so producers can write immediately — pre-drain_task writes simply accumulate in the ring and are flushed once the drain runs.