The stdlib log package provides a useful "standard" logger, which can be used globally without passing a logger object around. This PR does the same thing for statsd, except the default behavior is no-op until statsd.Configure is called. What do you think?
The stdlib
log
package provides a useful "standard" logger, which can be used globally without passing a logger object around. This PR does the same thing for statsd, except the default behavior is no-op untilstatsd.Configure
is called. What do you think?