pub fn print_limited<const CAP: usize>(message: &dyn Display)
Expand description
Prints a log message for debugging purposes by formatting the given message into a stack allocated buffer with the given capacity. This is useful for printing dynamic messages without needing an allocator. However the message may be truncated if it is too long.
ยงExample
asr::print_limited::<128>(&format_args!("Hello, {}!", "world"));