lib/searchkick.rb in searchkick-0.6.1 vs lib/searchkick.rb in searchkick-0.6.2
- old
+ new
@@ -9,11 +9,10 @@
require "searchkick/query"
require "searchkick/search"
require "searchkick/similar"
require "searchkick/model"
require "searchkick/tasks"
-# TODO add logger
-# require "searchkick/logger" if defined?(Rails)
+require "searchkick/logging" if defined?(Rails)
module Searchkick
def self.client
@client ||= Elasticsearch::Client.new(url: ENV["ELASTICSEARCH_URL"])