method
log_info
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::AbstractAdapter
log_info(sql, name, ms)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 195 def log_info(sql, name, ms) if @logger && @logger.debug? name = '%s (%.1fms)' % [name || 'SQL', ms] @logger.debug(format_log_entry(name, sql.squeeze(' '))) end end