Class: Lograge::Formatters::Json

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

Instance Method Summary collapse

Instance Method Details

#call(data) ⇒ Object



7
8
9
# File 'lib/lograge/formatters/json.rb', line 7

def call(data)
  ::JSON.dump(data)
end