module StatsD::Instrument::Backends
  class LoggerBackend < StatsD::Instrument::Backend
    
    attr_accessor :logger
    
    def initialize(logger)
      @logger = logger
    end

    def collect_metric(metric)
      logger.debug "[StatsD] #{metric}"
    end
  end
end

module StatsD::Instrument::Backends
  class LoggerBackend < StatsD::Instrument::Backend
    
    attr_accessor :logger
    
    def initialize(logger)
      @logger = logger
    end

    def collect_metric(metric)
      logger.info "[StatsD] #{metric}"
    end
  end
end

Use info as log level in the logger backend
Use info as log level in the logger backend
