Class: Lograge::Formatters::L2met

Inherits:
KeyValue
  • Object
show all
Defined in:
lib/lograge/formatters/l2met.rb

Constant Summary collapse

L2MET_FIELDS =
%i[
  method
  path
  format
  source
  status
  error
  duration
  view
  db
  location
].freeze
UNWANTED_FIELDS =
%i[
  controller
  action
].freeze

Instance Method Summary collapse

Instance Method Details

#call(data) ⇒ Object



26
27
28
# File 'lib/lograge/formatters/l2met.rb', line 26

def call(data)
  super(modify_payload(data))
end