Thank you a lot for this library!
Would it make sense to add variants of the statsd macros that do not panic if the global default client is not set?
When testing code makes use of the statsd macros it is sometimes awkward to have to initialize the global default client in unit tests to avoid the macros panicking.
Would be happy to contribute a PR to add such macros if you think it would make sense.
Wdyt?
Thank you a lot for this library!
Would it make sense to add variants of the
statsdmacros that do not panic if the global default client is not set?When testing code makes use of the statsd macros it is sometimes awkward to have to initialize the global default client in unit tests to avoid the macros panicking.
Would be happy to contribute a PR to add such macros if you think it would make sense.
Wdyt?