lib/data_objects/logger.rb in data_objects-0.9.12 vs lib/data_objects/logger.rb in data_objects-0.10.0

- old
+ new

@@ -185,10 +185,10 @@ # Flush the entire buffer to the log object. # DataObjects.logger.flush # def flush return unless @buffer.size > 0 - @log.write_method(@buffer.slice!(0..-1).to_s) + @log.write_method(@buffer.slice!(0..-1).join) end # Close and remove the current log object. # DataObjects.logger.close #