class ActiveSupport::Cache::Store

def instrument(operation, key, options = nil)

def instrument(operation, key, options = nil)
  log(operation, key, options)
  payload = { :key => key }
  payload.merge!(options) if options.is_a?(Hash)
  ActiveSupport::Notifications.instrument("cache_#{operation}.active_support", payload){ yield(payload) }
end