lib/jaeger/client/span.rb in jaeger-client-0.4.1 vs lib/jaeger/client/span.rb in jaeger-client-0.4.2

- old
+ new

@@ -50,11 +50,11 @@ # Add a log entry to this span # # @param timestamp [Time] time of the log # @param fields [Hash] Additional information to log def log(timestamp: Time.now, **fields) - @logs << {timestamp: timestamp, fields: fields} + @logs << { timestamp: timestamp, fields: fields } end # Finish the {Span} # # @param end_time [Time] custom end time, if not now @@ -64,10 +64,10 @@ private def build_binary_annotations @tags.map do |name, value| - {key: name, value: value.to_s} + { key: name, value: value.to_s } end end end end end