3 releases (breaking)

0.2.0 May 20, 2024
0.1.0 Jan 14, 2024
0.0.0 Jan 3, 2023

#1945 in Embedded development

Download history 118/week @ 2024-06-17 173/week @ 2024-06-24 120/week @ 2024-07-01 52/week @ 2024-07-08 60/week @ 2024-07-15 52/week @ 2024-07-22 73/week @ 2024-07-29 85/week @ 2024-08-05 65/week @ 2024-08-12 59/week @ 2024-08-19 27/week @ 2024-08-26 48/week @ 2024-09-02 31/week @ 2024-09-09 41/week @ 2024-09-16 68/week @ 2024-09-23 56/week @ 2024-09-30

203 downloads per month

MIT/Apache

410KB
9K 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

~6.5MB
~119K SLoC