method

flush

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveSupport::BufferedLogger
flush() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/buffered_logger.rb, line 101
    def flush
      unless buffer.empty?
        if @no_block
          @log.write_nonblock(buffer.slice!(0..-1).join)
        else
          @log.write(buffer.slice!(0..-1).join)
        end
      end
    end
Register or log in to add new notes.