Skip to main content

Module macros

Module macros 

Source
Expand description

Phase 88.2 — nros_*! macros.

Each macro formats its arguments into a stack-resident crate::FormatBuffer (capacity picked at compile time by the buffer-size-<N> feature), wraps the result in a crate::Record, and hands it to the crate::Logger’s dispatcher.

Compile-time ceiling: macros below crate::compile_time_ceiling expand to () — the format call is dead-code-eliminated.