7 releases (breaking)

Uses new Rust 2024

0.6.0 Mar 20, 2026
0.5.1 Aug 27, 2025
0.5.0 Jul 22, 2025
0.4.0 Jan 15, 2025
0.0.0 Jan 3, 2023

#2838 in Embedded development

Download history 554/week @ 2026-02-23 418/week @ 2026-03-02 394/week @ 2026-03-09 362/week @ 2026-03-16 510/week @ 2026-03-23 410/week @ 2026-03-30 502/week @ 2026-04-06 605/week @ 2026-04-13 497/week @ 2026-04-20 530/week @ 2026-04-27 584/week @ 2026-05-04 545/week @ 2026-05-11 431/week @ 2026-05-18 472/week @ 2026-05-25 511/week @ 2026-06-01 788/week @ 2026-06-08

2,259 downloads per month
Used in 7 crates

MIT/Apache

590KB
13K 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

~5MB
~89K SLoC