toast-logger-win

Crates.iotoast-logger-win
lib.rstoast-logger-win
version0.5.2
created_at2025-05-19 20:04:05.672156+00
updated_at2025-06-29 11:48:38.87204+00
descriptionRust's `log` crate logger that sends logging output to the Windows Toast Notifications.
homepage
repositoryhttps://github.com/kojiishi/toast-logger-win
max_upload_size
id1680348
size42,897
Koji Ishii (kojiishi)

documentation

README

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.

Commit count: 48

cargo fmt