method

failsafe_logger

rails latest stable - Class: ActionController::Dispatcher

Method deprecated or moved

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

failsafe_logger()
private

No documentation available.

# File actionpack/lib/action_controller/dispatcher.rb, line 88
        def failsafe_logger
          if defined?(::RAILS_DEFAULT_LOGGER) && !::RAILS_DEFAULT_LOGGER.nil?
            ::RAILS_DEFAULT_LOGGER
          else
            Logger.new($stderr)
          end
        end