2 unstable releases

0.1.0 Jan 14, 2024
0.0.0 Jan 3, 2023

#1636 in Embedded development

Download history 1/week @ 2024-01-15 39/week @ 2024-01-22 31/week @ 2024-01-29 16/week @ 2024-02-05 31/week @ 2024-02-12 65/week @ 2024-02-19 66/week @ 2024-02-26 68/week @ 2024-03-04 171/week @ 2024-03-11 209/week @ 2024-03-18 241/week @ 2024-03-25 384/week @ 2024-04-01

1,014 downloads per month

MIT/Apache

360KB
7.5K SLoC

embassy-usb-logger

USB implementation of the log crate. This logger can be used by any device that implements embassy-usb. When running, it will output all logging done through the log facade to the USB serial peripheral.

Usage

Add the following embassy task to your application. The Driver type is different depending on which HAL you use.

#[embassy_executor::task]
async fn logger_task(driver: Driver<'static, USB>) {
   embassy_usb_logger::run!(1024, log::LevelFilter::Info, driver);
}

Dependencies

~3.5MB
~74K SLoC