Function delog::dequeue

source ·
pub unsafe fn dequeue(delogger: impl Delogger, buf: &mut [u8]) -> &str
Expand description

The core “read from circular buffer” method. Marked unsafe to discourage use!

Safety

Unfortunately exposed for all to see, as the delog! macro needs access to it to implement the logger at call site. Hence marked as unsafe.