Class: Ground::Log
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/ground/activity/log.rb', line 11 def call logger.info format % [time, request_method, path_info, state, response[0], response[1], "Parameters: #{params.select{|k, _| k.is_a? Symbol}}"] end |