method
open_log
v3.2.8 -
Show latest stable
- Class:
ActiveSupport::BufferedLogger
open_log(log, mode)public
No documentation available.
# 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