struct Logger;Expand description
log::Log implementation that formats records into CDC_RING.
Trait Implementations§
Source§impl Log for Logger
impl Log for Logger
Source§fn enabled(&self, metadata: &Metadata<'_>) -> bool
fn enabled(&self, metadata: &Metadata<'_>) -> bool
Gate records against the globally configured max level and the crate’s own target namespace.
The log-04 features of esp-hal/esp-rtos route their messages
into the same facade — without filtering, the esp-rtos scheduler
would flood the 4 KiB ring with task-switch traces on every debug
build. Only records originating from this crate’s module tree are
accepted; third-party targets can be added here deliberately.