Method: ActionCost::SqlParser#log

Defined in:
lib/action_cost/sql_parser.rb

#logObject



38
39
40
41
42
43
44
45
# File 'lib/action_cost/sql_parser.rb', line 38

def log
  if @invalid
    Rails.logger.debug "action_cost: non parsable query"
  else
    Rails.logger.debug "action_cost: operation=#{@operation} table_name=#{@table_name} " +
                       "join_tables=#{@join_tables.inspect}"
  end
end