Class: Ground::Log

Inherits:
Activity
  • Object
show all
Defined in:
lib/ground/activity/log.rb

Instance Method Summary collapse

Instance Method Details

#callObject



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