method

open_log

open_log(log, mode)
private

No documentation available.

# File activesupport/lib/active_support/buffered_logger.rb, line 132
    def open_log(log, mode)
      open(log, mode).tap do |log|
        log.set_encoding(Encoding::BINARY) if log.respond_to?(:set_encoding)
        log.sync = true
      end
    end