win-service-logger

Crates.iowin-service-logger
lib.rswin-service-logger
version0.1.1
sourcesrc
created_at2021-11-19 14:12:55.808773
updated_at2024-01-12 15:01:45.046468
descriptionA logger backend which writes messages to the Windows Event Viewer
homepage
repositoryhttps://github.com/nulldotblack/win-service-logger
max_upload_size
id484469
size9,792
(nulldotblack)

documentation

https://docs.rs/win-service-logger

README

win-service-logger

A logger which writes log messages to the Windows Event Viewer

Example

extern crate win_service_logger;
#[macro_use] extern crate log;

fn main() {
    win_service_logger::init();
    trace!("Hello from Rust!");

    warn!("This will be a warning in Event Viewer!");
    error!("Bad");
}
Commit count: 3

cargo fmt