winlog2 0.3.2

A simple Rust log backend to send messages to the Windows event log.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::path::PathBuf;
use winresource::WindowsResource;

fn main() {
    let res_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("res").join("eventmsgs.rc");
    WindowsResource::new()
        .set_resource_file(res_path.to_str().unwrap())
        .compile()
        .unwrap();
}