lib/pub_grub.rb in pub_grub-0.3.2 vs lib/pub_grub.rb in pub_grub-0.4.0
- old
+ new
@@ -14,7 +14,7 @@
module PubGrub
class << self
attr_accessor :logger
end
self.logger = Logger.new(STDERR)
- self.logger.level = Logger::WARN
+ self.logger.level = $DEBUG ? Logger::DEBUG : Logger::WARN
end