Port to windows-rs & opiniated changes to default eventid/message format #1

Merged
itsscb merged 3 commits from pr4-darklajid into master 2025-06-04 12:11:38 +00:00
Showing only changes of commit 8190e33ca6 - Show all commits

View File

@ -14,9 +14,7 @@ New-EventLog -LogName Application -Source hello_world
use tracing_subscriber::{layer::SubscriberExt as _, util::SubscriberInitExt as _};
fn main() {
println!("Hello, world!");
let eventlog = tracing_layer_win_eventlog::EventLogLayer::new("hello_world".to_owned());
let eventlog = tracing_layer_win_eventlog::EventLogLayer::new("hello_world");
tracing_subscriber::registry()
.with(eventlog)
@ -51,4 +49,4 @@ source: windows
message: currently in windir
path: "\"C:\\Windows\""
```
```