method

set_dev

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: Logger::LogDevice
set_dev(log) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/logger.rb, line 732
    def set_dev(log)
      if log.respond_to?(:write) and log.respond_to?(:close)
        @dev = log
      else
        @dev = open_logfile(log)
        @dev.sync = true
        @filename = log
      end
    end
Register or log in to add new notes.