mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-08-28 04:46:50 -04:00
Previously, the only constructor for the etwlogrus hook accepted a name, and created a new ETW provider with that name. With this change, there is another constructor which takes an already created ETW provider. This is to allow the use of the ETW provider for other things, such as if the application wants to support ETW capture state.