Class: Lograge::Formatters::L2met

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

Constant Summary collapse

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

Instance Method Summary collapse

Instance Method Details

#call(data) ⇒ Object



24
25
26
# File 'lib/lograge/formatters/l2met.rb', line 24

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