lib/daemonizer.rb in daemonizer-0.3.1 vs lib/daemonizer.rb in daemonizer-0.3.2
- old
+ new
@@ -40,10 +40,10 @@
@@logger.outputters = outputter
@@logger.level = INFO
end
def self.flush_logger
- @@logger.each_outputter do |o|
+ @@logger.outputters.each do |o|
o.flush
end
end
def self.init_console_logger(name)