method

set_non_blocking_io

rails latest stable - Class: ActiveSupport::BufferedLogger

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

set_non_blocking_io()
public

No documentation available.

# File activesupport/lib/active_support/buffered_logger.rb, line 57
    def set_non_blocking_io
      if !RUBY_PLATFORM.match(/java|mswin/) && !(@log == STDOUT) && @log.respond_to?(:write_nonblock)
        @no_block = true
      end
    end