lib/rabbit/console.rb in rabbit-0.9.3 vs lib/rabbit/console.rb in rabbit-1.0.0
- old
+ new
@@ -129,10 +129,10 @@
def get_last_name(klass)
klass.name.split("::").last
end
def guess_default_logger
- if Utils.support_console_output?
+ if Utils.support_console_output? or !Logger.const_defined?(:GUI)
Logger::STDERR.new
else
Logger::GUI.new
end
end