#notifications #toast-notifications #logging #toast #windows

toast-logger-win

Rust’s log crate logger that sends logging output to the Windows Toast Notifications

12 releases (4 breaking)

Uses new Rust 2024

0.5.2 Jun 29, 2025
0.5.1 Jun 24, 2025
0.5.0 May 30, 2025
0.4.0 May 26, 2025
0.1.1 May 20, 2025

#3 in #toast-notifications

Download history

881 downloads per month
Used in monitor-input

Apache-2.0

27KB
386 lines

CI-badge crate-badge docs-badge

toast-logger-win

ToastLogger is a log crate logger that sends logging output to the Windows Toast Notifications. This is handy when you want to present errors or a small amount of text to users from UI-less applications on Windows.

The following example shows a toast notification saying "Hello, world".

ToastLogger::builder()
    .max_level(log::LevelFilter::Error)
    .init()?;
log::error!("Hello, world");

Please see the API documentation at docs.rs for more details, and release notes for the change history.

Dependencies

~121MB
~2M SLoC