microsoft / go-winio

Win32 IO-related utilities for Go
MIT License
952 stars 182 forks source link

Set ETW event name and options for logrus hook #245

Closed helsaawy closed 2 years ago

helsaawy commented 2 years ago

Added functionality to set the event (task) name and options (such as event or associated event ID) for ETW events created by the hook based on the logrus.Entry fields.

This PR supports enhanced logging in the shim.

Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com

helsaawy commented 2 years ago

@kevpar resolved, PTAL