lib/dynamoid/adapter.rb in dynamoid-0.0.4 vs lib/dynamoid/adapter.rb in dynamoid-0.0.5
- old
+ new
@@ -17,10 +17,10 @@
def method_missing(method, *args)
if @adapter.respond_to?(method)
start = Time.now
result = @adapter.send(method, *args)
- Dynamoid.logger.info "((#{((Time.now - start) * 1000.0).round(2)} ms) #{method.to_s.split('_').collect(&:upcase).join(' ')}#{ " - #{args.join(',')}" unless args.empty? }"
+ Dynamoid.logger.info "(#{((Time.now - start) * 1000.0).round(2)} ms) #{method.to_s.split('_').collect(&:upcase).join(' ')}#{ " - #{args.join(',')}" unless args.empty? }"
return result
end
super
end
end
\ No newline at end of file