rcrowley / go-metrics

Go port of Coda Hale's Metrics library
Other
3.46k stars 494 forks source link

Added two new functions to support logging "on demand" via channels. … #209

Closed jasonyunicorn closed 5 years ago

jasonyunicorn commented 7 years ago

… LogOnCue and LogScaledOnCue accept a generic message channel (instead of a time.Duration) which triggers logging to the supplied logger.

mihasya commented 6 years ago

Also, apologies for the delay in review. I'm trying to be more regular :)

jasonyunicorn commented 6 years ago

Please see last commits for requested changes.