marccarre opened this issue 7 years ago · 0 comments
Typical usage is:
hook, err := promrus.NewPrometheusHook() if err != nil { log.Fatalf("...", err) // or panic("...") }
so it would make sense to wrap this up in a MustNewPrometheusHook function to keep things DRY.
MustNewPrometheusHook