Crates.io | win-service-logger |
lib.rs | win-service-logger |
version | 0.1.1 |
source | src |
created_at | 2021-11-19 14:12:55.808773 |
updated_at | 2024-01-12 15:01:45.046468 |
description | A logger backend which writes messages to the Windows Event Viewer |
homepage | |
repository | https://github.com/nulldotblack/win-service-logger |
max_upload_size | |
id | 484469 |
size | 9,792 |
A logger which writes log messages to the Windows Event Viewer
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");
}