Removing unneeded NewProviderWithGroup function

This commit is contained in:
Kyle Wojtaszek
2021-01-27 14:43:00 -08:00
parent 30844eed75
commit 652abba813
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func main() {
}
}()
providerWithGroup, err := etw.NewProviderWithGroup("TestProviderWithGroup", group, callback)
providerWithGroup, err := etw.NewProviderWithOptions("TestProviderWithGroup", etw.WithGroup(group), etw.WithCallback(callback))
if err != nil {
logrus.Error(err)