4 releases (breaking)

new 0.4.0 Jan 15, 2025
0.2.0 May 20, 2024
0.1.0 Jan 14, 2024
0.0.0 Jan 3, 2023

#1935 in Embedded development

Download history 65/week @ 2024-09-24 50/week @ 2024-10-01 32/week @ 2024-10-08 34/week @ 2024-10-15 36/week @ 2024-10-22 50/week @ 2024-10-29 32/week @ 2024-11-05 31/week @ 2024-11-12 51/week @ 2024-11-19 48/week @ 2024-11-26 54/week @ 2024-12-03 148/week @ 2024-12-10 83/week @ 2024-12-17 29/week @ 2024-12-24 48/week @ 2024-12-31 96/week @ 2025-01-07

274 downloads per month

MIT/Apache

515KB
11K 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
~117K SLoC