Sha256: 7e05996cea9761543c377286e4a01e7260d21e60aee5d2558133391d042ef8ee
Contents?: true
Size: 449 Bytes
Versions: 26
Compression:
Stored size: 449 Bytes
Contents
module Harness class Job def log(measurement) logger.debug "[Harness] Processing Measurement: #{measurement.inspect}" case measurement.class.to_s.demodulize.underscore.to_sym when :gauge adapter.log_gauge measurement when :counter adapter.log_counter measurement end end private def logger Harness.logger end def adapter Harness.config.adapter end end end
Version data entries
26 entries across 26 versions & 1 rubygems