method
flush
flush()
public
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