lib/guard/ui.rb in guard-1.6.1 vs lib/guard/ui.rb in guard-1.6.2

- old
+ new

@@ -14,10 +14,13 @@ class << self # Get the Guard::UI logger instance # def logger - @logger ||= Lumberjack::Logger.new($stderr, self.options) + @logger ||= begin + options = self.options.dup + Lumberjack::Logger.new(options.delete(:device) || $stderr, options) + end end # Get the logger options # # @return [Hash] the logger options