Use custom log function if passed in for statsd errors

:eyeglasses: @spladug 
ah, my bad. looks good.