Class: CxLog::Formatters::Json
- Inherits:
-
Object
- Object
- CxLog::Formatters::Json
- Defined in:
- lib/cx_log/formatters/json.rb
Overview
Formats data as JSON
Instance Method Summary collapse
Instance Method Details
#call(data) ⇒ Object
9 10 11 |
# File 'lib/cx_log/formatters/json.rb', line 9 def call(data) JSON.dump(data) end |