Method: Honeycomb::Client#with_trace_field

Defined in:
lib/honeycomb/client.rb

#with_trace_field(key) ⇒ Object



91
92
93
# File 'lib/honeycomb/client.rb', line 91

def with_trace_field(key)
  yield.tap { |value| add_field_to_trace(key, value) }
end