method

log_info

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::AbstractAdapter
log_info(sql, name, seconds) public

No documentation

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

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 162
      def log_info(sql, name, seconds)
        if @logger && @logger.debug?
          name = "#{name.nil? ? "SQL" : name} (#{sprintf("%.1f", seconds * 1000)}ms)"
          @logger.debug(format_log_entry(name, sql.squeeze(' ')))
        end
      end
Register or log in to add new notes.