vendor/bundle/ruby/2.3.0/gems/web_translate_it-2.1.8/lib/web_translate_it/configuration.rb
# Returns a logger. If RAILS_DEFAULT_LOGGER is defined, use it, else, define a new logger.
Returns a logger. If RAILS_DEFAULT_LOGGER is defined, use it, else, define a new logger.
Returns a logger . If RAILS_DEFAULT_LOGGER is defined use it else define a new logger .
def logger
      if defined?(Rails.logger)
        Rails.logger
      elsif defined?(RAILS_DEFAULT_LOGGER)
        RAILS_DEFAULT_LOGGER
      end
    end
def logger if defined? ( Rails . logger ) Rails . logger elsif defined? ( RAILS_DEFAULT_LOGGER ) RAILS_DEFAULT_LOGGER end end
Returns a logger.
Returns a logger .