method

open_log

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::BufferedLogger
open_log(log, mode) 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 63
    def open_log(log, mode)
      open(log, mode).tap do |open_log|
        open_log.set_encoding(Encoding::BINARY) if open_log.respond_to?(:set_encoding)
        open_log.sync = true
      end
    end
Register or log in to add new notes.