microsoft / go-winio

Win32 IO-related utilities for Go
MIT License
946 stars 180 forks source link

pkg/etw/sample: remove dependency on github.com/sirupsen/logrus #267

Closed thaJeztah closed 1 year ago

thaJeztah commented 1 year ago

It looks like for the purpose of the example "a" logger was needed, so not strictly logrus (probably fmt.Println() would've worked even).

This patch removes logrus as dependency for the example. The only remaining use of logrus in this repository is now in the pkg/etc/etwlogrus package, which does need logrus, but (possibly) could become its own module if we want to remove logrus as dependency of go-winio itself.