method
open_log
v3.0.9 -
Show latest stable
- Class:
ActiveSupport::BufferedLogger
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