lib/nightcrawler_swift.rb in nightcrawler_swift-0.11.0 vs lib/nightcrawler_swift.rb in nightcrawler_swift-0.11.1
- old
+ new
@@ -24,10 +24,10 @@
require "nightcrawler_swift/railtie" if defined?(Rails)
module NightcrawlerSwift
class << self
- attr_accessor :logger
+ attr_writer :logger
attr_reader :options, :connection
def logger
@logger ||= Logger.new(STDOUT).tap {|l| l.level = Logger::INFO}
end