lib/alephant/cache.rb in alephant-cache-1.1.1 vs lib/alephant/cache.rb in alephant-cache-1.2.1

- old
+ new

@@ -27,13 +27,15 @@ :content_type => content_type, :metadata => meta } ) + logger.metric(:name => "CachePuts", :unit => "Count", :value => 1) logger.info("Cache.put: #{path}/#{id}") end def get(id) + logger.metric(:name => "CacheGets", :unit => "Count", :value => 1) logger.info("Cache.get: #{path}/#{id}") object = bucket.objects["#{path}/#{id}"] { :content => object.read,