Sha256: 821d01ed50204f802ef04a5a06dade3d91b3bb9fea960c663077aa056e4d8706
Contents?: true
Size: 446 Bytes
Versions: 34
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true module StatsD module Instrument # This Railtie runs some initializers that will set the logger to <tt>Rails#logger</tt>, # and will initialize the {StatsD#backend} based on the Rails environment. # # @see StatsD::Instrument::Environment class Railtie < Rails::Railtie initializer "statsd-instrument.use_rails_logger" do ::StatsD.logger = Rails.logger end end end end
Version data entries
34 entries across 34 versions & 1 rubygems