Class: Moped::Node

Inherits:
Object
  • Object
show all
Includes:
Instrumentable
Defined in:
lib/patches/instrument.rb

Constant Summary

Constants included from Instrumentable

Instrumentable::TOPIC

Instance Method Summary collapse

Methods included from Instrumentable

#instrument, #instrumenter

Instance Method Details

#logging_with_instrument(operations, &block) ⇒ Object



40
41
42
43
44
# File 'lib/patches/instrument.rb', line 40

def logging_with_instrument(operations, &block)
  instrument(TOPIC, prefix: "  MOPED: #{resolved_address}", ops: operations) do
    logging_without_instrument(operations, &block)
  end
end